4 ms·
Well... if memory is the bottleneck, and you use a language implementation where all the integers are heap-allocated, things are not looking good. I would say
by klodolph 10y ago
Well... if memory is the bottleneck, and you use a language implementation where all the integers are heap-allocated, things are not looking good. I would say that choice of language can important if your bottlenecks are CPU, memory, or maximum latency.