Abdelrazak Younes wrote:
Anyway caching ascent and descent
looks like a good idea.
Abdelrazak> The only drawback is that it requires about 20Mo
Abdelrazak> extra-memory when loading the UserGuide. If it turns out
Abdelrazak> to be too much, we can switch to a QHash based solution
Abdelrazak> instead of a table.
What about using short ints instead of ints?
Indeed, that should halve the additional memory... I'll try that.
Yes, exactly half additional memory as expected. Loading and scrolling
the UserGuide entirely makes LyX occupy 37Mo of RAM. I reckon this is
acceptable.
Abdel.