Open MichaelBelousov opened 1 year ago
worth noting, last time I tried using the integer based map in iTwin.js core for the transformer, it worsened performance 5-10% iirc. We need an integer based map though to do a naive run-compressed map. So need to think about this.
this is done partially in the early-polymorphic-insert
branch
EDIT: that branch now includes a CompactRemapTable
class which does this remapping entirely
the federation-guid-optimization branch also adds a new source changes cache which is unbounded
Unbounded caches in use are problematic:
Proposed changes:
7-10+10,15->16 === 7->17,8->18,9->19->10->20,15->16
).Short term solutions: