Skip to content

Instantly share code, notes, and snippets.

@shawn42
Created January 8, 2011 16:06
Show Gist options
  • Save shawn42/770939 to your computer and use it in GitHub Desktop.
Save shawn42/770939 to your computer and use it in GitHub Desktop.
Gamebox Spatial Hash Performance
DEFS:
lots: 1000
small_grid: 5 medium_grid: 80 large_grid:
small_object: 2 medium_object: 20 large_object: 100
w/ lots of small objects in small size grid 0.040000 0.000000 0.040000 ( 0.038262)
w/ lots of medium objects in small size grid 0.110000 0.000000 0.110000 ( 0.108360)
w/ lots of small objects in medium size grid 0.040000 0.000000 0.040000 ( 0.046014)
w/ lots of medium objects in medium size grid 0.050000 0.000000 0.050000 ( 0.047339)
w/ lots of large objects in small size grid 1.160000 0.010000 1.170000 ( 1.172766)
w/ lots of large objects in small size grid no resize 5.620000 0.010000 5.630000 ( 5.633500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment