Benny Siegert wrote:

> In benchmarks for Go, the devs found that 64-bit code gives a
> 10-15% speedup across the board. This is because there are more
> processor registers in 64-bit mode, so more variables can be kept
> in registers.

On the other hand, more compact size_t, ptrdiff_t and pointers make
code more cache friendly. In my experience, 32bit code was faster
than equivalent 64bit code.


Alex

Reply via email to