GitHub user nwellnhof opened a pull request:

    https://github.com/apache/lucy-clownfish/pull/44

    Clean up CharBuf API and optimize code

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/nwellnhof/lucy-clownfish charbuf-api

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucy-clownfish/pull/44.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #44
    
----
commit ad19eb8d8d8e5272365a5808ad09c34defd88a7e
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T13:47:14Z

    Remove obsolete CharBuf ctors and methods
    
    Also change CB_Grow return type.

commit a86123544460abf33637d3ed308995ef1c76b8bf
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T13:51:30Z

    Make CharBuf API public

commit 641250dd1b067c291a5d794184298dc74eb5856c
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T14:05:51Z

    Cease null-terminating internal CharBuf buffer
    
    The internal buffer is inaccessible now.

commit 6e1d5fd1a687eae61dc0609806c5269ba1e045fb
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T14:35:33Z

    Rework oversizing of CharBufs
    
    Don't call Memory_oversize, but oversize by custom amount of 25%.
    
    Check for integer overflow. This should only matter on exotic platforms,
    but it doesn't cost much.

commit 5477135819d6f37bc8052f2450a4dfcd2acc2d6f
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T15:03:33Z

    Non-inline helper to append to CharBufs
    
    Reduces code size of CB_VCatF and makes it a little faster.

commit 8c8780a7d485d901f70bddcfe893947f5fd400af
Author: Nick Wellnhofer <[email protected]>
Date:   2015-11-12T15:46:07Z

    Adjust Go bindings for CharBuf changes

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to