[sword-svn] r1713 - trunk/src/mgr
jansorg at crosswire.org
jansorg at crosswire.org
Sat Feb 5 18:14:11 MST 2005
Author: jansorg
Date: 2005-02-05 18:14:11 -0700 (Sat, 05 Feb 2005)
New Revision: 1713
Modified:
trunk/src/mgr/filemgr.cpp
Log:
append with given length is a lot faster than appendFormatted. I tested but still hope if works for all of you :)
Modified: trunk/src/mgr/filemgr.cpp
===================================================================
--- trunk/src/mgr/filemgr.cpp 2005-02-05 11:43:10 UTC (rev 1712)
+++ trunk/src/mgr/filemgr.cpp 2005-02-06 01:14:11 UTC (rev 1713)
@@ -429,7 +429,8 @@
int size = (end - start) + 1;
if (size > 0) {
- line.appendFormatted("%.*s", size, chunk+start);
+ // line.appendFormatted("%.*s", size, chunk+start);
+ line.append(chunk+start, size);
}
}
return ((len>0) || line.length());
More information about the sword-cvs
mailing list