Revision 563336

Go back to digest for 23rd July 2006

Optimization in Office

Stefan Nikolaus committed changes in /trunk/koffice/kspread:

Use the reference depth approach also for changed cell regions.

Otherwise, we'll get unnecessary recalculation events in some cases. In 1.5
some cells were recalculated twice, if one of its references were changed.

Changing A1 has recalced A2 first, which triggered a recalc of A3, which in turn recalced A2 again.

TODO: Catch circular dependencies.

File Changes

Modified 2 files
  • /trunk/koffice/kspread
  •   /RecalcManager.cpp
  •   /RecalcManager.h
2 files changed in total