xparq / Out_of_Nothing

Versatile entity-based simulation & visualization/gamification framework PROTOTYPE
0 stars 0 forks source link

Move the grav. calc. to the interaction hook + measure! #519

Closed xparq closed 7 months ago

xparq commented 7 months ago

"Disaster". In that hot inner loop even the for's overhead is measurable (reaching the magnitude of a percent or so).

Should still be moved into some inline member of the World itself(!) -- but nothing beyond that (like "real" functions with args, virtuals etc.)!