Go doubly-linked-list Projects
-
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
Project mention: Optimizing Heap Allocations in Go: A Case Study | news.ycombinator.com | 2025-04-22
I had an attempt to improve performance of memory allocation with the use of arenas in Go and I chose freelist datastructure[1]
It almost doesn't use unsafe except one line to cast pointer types. I measured practical performance boost with "container/list" implementation hooked to my allocator. All in all it performs 2-5 times faster or up to 10 times faster if we can get rid[2] of any and allocations implied by the use of it.
All in all, heap allocations can be not that bad at all if you approach them from another angle.
[1]: https://github.com/Snawoot/freelist
[2]: https://github.com/Snawoot/list
Go doubly-linked-list discussion
Go doubly-linked-list related posts
Index
# | Project | Stars |
---|---|---|
1 | Distributed-Cache-System | 13 |
2 | list | 1 |