3 ms·
Ehcache has an efficient off-heap store: https://github.com/Terracotta-OSS/offheap-store/ https://github.com/Terracotta-OSS/offheap-store/ Doesn't Go have some
by cgh 7y ago
Ehcache has an efficient off-heap store: https://github.com/Terracotta-OSS/offheap-store/ https://github.com/Terracotta-OSS/offheap-store/
Doesn't Go have something like this available? It's an obvious thing for garbage-collected languages to have.
- mappu 7y agoYou can usually resort to `import C` and using `C.malloc` to get an unsafe.Pointer.