You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit cf0b896 fixed #12 but replaced the SaveState ring buffer with a frame-keyed hashmap instead. This adds the overhead of clearing out the HashMap of old states each time a frame is confirmed by a remote, and potentially allocates more on the heap each time a new state is saved. This indirection is likely not particularly cache friendly.
However, given this HashMap should normally never be more than 8-20 entries large at a given time, this may be a moot point in terms of performance.
Leaving this as an issue to revisit this when time permits.
The text was updated successfully, but these errors were encountered:
Commit cf0b896 fixed #12 but replaced the SaveState ring buffer with a frame-keyed hashmap instead. This adds the overhead of clearing out the HashMap of old states each time a frame is confirmed by a remote, and potentially allocates more on the heap each time a new state is saved. This indirection is likely not particularly cache friendly.
However, given this HashMap should normally never be more than 8-20 entries large at a given time, this may be a moot point in terms of performance.
Leaving this as an issue to revisit this when time permits.
The text was updated successfully, but these errors were encountered: