Skip to content

feat: add custom memory allocators#3373

Open
williamcotton wants to merge 1 commit intojqlang:masterfrom
williamcotton:custom_alloc
Open

feat: add custom memory allocators#3373
williamcotton wants to merge 1 commit intojqlang:masterfrom
williamcotton:custom_alloc

Conversation

@williamcotton
Copy link

This allows for custom memory allocators.

A use case is a web server with a per-request memory arena. Using certain types of arena allocators with jq, e.g. a bump allocator, should offer a performance boost under certain conditions.

I would very much appreciate some feedback on the testing strategy to use for such a feature. I had a go at it but it seems very unsatisfactory, IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant