mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
On creating SpanElement for each SpanData on map creation we pollute heap since we create a lot of new hard-referenced objects. Instead we can store only reference to already existing objects. On the 2.1Gb JSON, it saves about 900Mb of heap. GitOrigin-RevId: 35346f4a9e48f0dbd2f2b33f7f40ac0a3bc27ce4