24/03/2014 14:19, Jean-Marc Lasgouttes:
commit 8ac5f09c1783261018a107b54ce398733b8f97a4
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Fri Mar 21 12:24:47 2014 +0100

     Do not store Languages objects in completion words lists

     In the current code each paragraph contains a map<Language,
     WordList*>, which means that it contains a full copy of the language
     object. Since these objects contain translation tables nowadays, this
     is a very bad idea.

     This patch simply replaces the Language key by a string.

     When loading the Userguide on linux/x86_64, the total memory
     consumption decreases from 36.27MB to 31.50MB.

Richard, I think we want that for 2.1.x eventually. In what branch do you want me to commit it?

JMarc

Reply via email to