]> git.lyx.org Git - features.git/commit
* Paragraph: reserve memory by chunks of 100 chars. This improve the loading of big...
authorAbdelrazak Younes <younes@lyx.org>
Mon, 22 Oct 2007 20:05:41 +0000 (20:05 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 22 Oct 2007 20:05:41 +0000 (20:05 +0000)
commit3911d72568b8729061fd4e59a6dec5b0d8996762
treef7fdc86f7025020ba1b9e81639ca3d4e36724040
parentc86e632afa63d938467de4c5a383822d86c5d1d7
* Paragraph: reserve memory by chunks of 100 chars. This improve the loading of big document of about 15% (12s instead of 14s for the UserGuide copied and pasted 10 times). There is zero penalty memory wise; quite weirdly, there is a benefit actually: 58 Megs instead 60 Megs, I don't understand why. For comparison, 1.5 needs 78 Megs for the same document.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21127 a592a061-630c-0410-9148-cb99ea01b6c8
src/Paragraph.cpp