Alrecenk / JSTimelineSync

A quick and dirty prototype for testing generalized rollback networking.
MIT License
5 stars 1 forks source link

Cache hashing of timeline objects #19

Open Alrecenk opened 2 years ago

Alrecenk commented 2 years ago

Hashes of objects are computed in a few places, but objects are immutable once placed in the timeline, so they should not need to recompute hashes. These extra hashes make up a significant chunk of CPU overhead caused by the timeline.

Alrecenk commented 2 years ago

These hashes do not make up a significant chunk of CPU in the new nontrivial test. I'll get around to this once larger performance issues have been resolved.