Game and GC

solidstate1991 laszloszeremi at outlook.com
Mon Apr 9 02:05:22 UTC 2018


On Monday, 9 April 2018 at 01:01:18 UTC, Chris Katko wrote:
> Why... associative arrays? Wouldn't that become expensive when 
> you hit 1,000s, or 10,000's of objects, for something as tiny 
> as a coordinate (two or three floats) lookup?
Well, that's the other reason why I was looking for a different 
solution. Currently it's quite fast, maybe because it uses 
integers for the most part (only transformation effects use 
floats due to easier workarounds with vectorization), might 
replace the multiple associative arrays with a single 
auto-sorting one.


More information about the Digitalmars-d-learn mailing list