Closed Alrecenk closed 2 years ago
Caches the map of event hashes to speed up the de-duplication check in Timeline.applyUpdate. Also removes an unnecessary hash compute in Timeline.getUpdateFor. This tiny change results in ~2-3x speedup in synchronization in the perf test.
Caches the map of event hashes to speed up the de-duplication check in Timeline.applyUpdate. Also removes an unnecessary hash compute in Timeline.getUpdateFor. This tiny change results in ~2-3x speedup in synchronization in the perf test.