Bennett Helm wrote:
On Tue, Jul 15, 2008 at 10:52 AM, Abdelrazak Younes <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Abdelrazak Younes wrote:
Abdelrazak Younes wrote:
Bennett Helm wrote:
save-profile.txt.zip<http://edisk.fandm.edu/bennett.helm/LyX/save-profile.txt.zip>
Out of 14.2 s taken by Paragraph::write()
- 4.6 s is taken by FontList::fontIterator(int) or more
exactly 4.1 s by matchFT()
- 4.6 s is taken by to_utf8() among which 3.6 s for
basic_string and vector allocations!!!
Side note: I've been saying for a long long time that this
conversion orgy between basic_string and vector is a waste of
time...
Side side note: the real conversion ucs4_to_utf8() takes only 0.44
s out of the above 4.6 second!
But side question for Bennett: are you sure you didn't configured
with stdlibdebug?
I didn't have it explicitly disabled, which I guess means that it was
used. (I had completely changed build settings trying to get
cross-compilation to work once beta4 came out, and apparently didn't
fully restore my old settings.) Having now recompiled with it
disabled, I find save and open times to be back to normal.
Sorry for the noise....
No problem, at least it made you aware of the configure option :-)
Still, I'd be very interested with the same profiles using a properly
optimized binary.
Abdel.