Gc is giving back memory to the OS if there is 1 MB unused. When I increased that to 8 MB (I don't remember the exact location, maybe allocate.nim, or something like that), it helped a lot in these kind of benchmarks.
- FastStack - dynamically resizable data structure optimized for fas... Vladar
- Re: FastStack - dynamically resizable data structure optimize... mbaulch
- Re: FastStack - dynamically resizable data structure opti... Vladar
- Re: FastStack - dynamically resizable data structure ... mbaulch
- Re: FastStack - dynamically resizable data struct... mora