nuke icon indicating copy to clipboard operation
nuke copied to clipboard

⚡ A memory arena implementation for Go.

Results 5 nuke issues
Sort by recently updated
recently updated
newest added

If any type containing a pointer is stored in the arena, the data it points to may be garbage collected if no other pointers exist because the GC cannot know...

@ortuman Hi! there is a little bit of improvements for current version of the nuke: - calculating `alignOffset` without iterations; - a reset method resets underlying memory on every call;...

In most applications there are some state to keep in memory . For go, we must face gc problems. We can easliy solve this problem if we alloc memory for...

@ortuman Earlier there was 70%+ coverage, I added few tests in new file "nuke_extra_test.go", Now It increased to 100%, I checked bench, cover and race to find out if it's...

## Feature Request Add support for creating GC-optimized maps via a `makeMap` function, similar to Go's built-in `make` function. ## Background When working with arena allocator in high-performance scenarios, maps...