3 ms·
I think their problem was the minimum heap size, thats why they have 10Gb sitting doing nothing, as the GC only doubles/halves its size in go. The way a gaming
by dana321 7y ago
I think their problem was the minimum heap size, thats why they have 10Gb sitting doing nothing, as the GC only doubles/halves its size in go.
The way a gaming engine would do it would be to disable the GC and allocate a large chunk of memory and read/write directly to that memory.
Its a pretty quick hack, not bad, really.