JuliaPerf / BenchmarksGame.jl

Other
43 stars 13 forks source link

change fields of Node to UInt32 #30

Closed maltezfaria closed 5 years ago

maltezfaria commented 5 years ago

for depth<=32, it suffices to index the nodes by UInt32. Saves some memory, and slightly faster on my machine (measured with @benchmark):

  mean time:        4.367 s (1.46% GC) --> version on master
  mean time:        4.051 s (0.81% GC) --> version on pull request