Closed Tyriar closed 5 months ago
Fixes #4911
Test setup:
Before:
Insert ~4s Delete ~4s
After:
Insert ~330ms Delete ~93ms
There's still a decent amount of GC happening on insert, but a lot of it has to happen due to the variables being used in callbacks. It's reasonable when you consider it's 200000 decorations.
Fixes #4911
Test setup:
Before:
Insert ~4s Delete ~4s
After:
Insert ~330ms Delete ~93ms
There's still a decent amount of GC happening on insert, but a lot of it has to happen due to the variables being used in callbacks. It's reasonable when you consider it's 200000 decorations.