ironcalc / IronCalc

Main engine of the IronCalc ecosystem
Apache License 2.0
2.04k stars 46 forks source link

Garbage collector #13

Open nhatcher opened 8 months ago

nhatcher commented 8 months ago

Currently some operations like adding and removing strings, adding and removing styles produces a lot of garbage.

To see a small example look at the branch:

https://github.com/ironcalc/IronCalc/tree/feature/nicolas-garbage-collector

There are other ways to achieve this. One would be to clean after ourselves each time we do anything that could potentially create garbage:

jaycarlton commented 4 weeks ago

It would be nice to be able to state categorically that when a user deletes a cell or its contents, that the information isn't retained outside of Undo history (and have a way to clear that history for sensitive documents, if it's persisted).