Closed GoogleCodeExporter closed 9 years ago
Hmm actually, due to the system of layers, several backup pages can reference
the
same memory bitmap. This proposition would require updating *all* references to
a
page, by browsing the entire history (max 99 pages * 16 layers)
Original comment by yrizoud
on 21 Jan 2010 at 4:07
Another solution is to use pointer indirection trough a PageMap.
- Each time we store a pointer to a page, we actually use an int (page number)
- The page map is a tableof byte* indexed by page number and pointing to actual
data
- The page map is resized if you change the number of undo steps (16*steps size)
This way, you only have to update the page map.
There is a small overhead but I don't think it's that much. The page map is not
a
too big structure.
Original comment by pulkoma...@gmail.com
on 21 Jan 2010 at 4:41
Original comment by pulkoma...@gmail.com
on 10 Feb 2010 at 12:20
[deleted comment]
Original comment by pulkoma...@gmail.com
on 9 Aug 2010 at 9:37
Original comment by pulkoma...@gmail.com
on 22 Aug 2010 at 1:34
Topic is abandoned, the rendering system has become so complex that
optimizations at this level becomes fairly irrelevant.
Original comment by yrizoud
on 8 Mar 2012 at 7:10
Original issue reported on code.google.com by
yrizoud
on 18 Jan 2010 at 11:55