[Gtkradiant] [Bug 203] New: Speedup and Fix of eclass.cpp setSpecialLoad()
Sat, 29 Sep 2001 12:32:57 -0500
Summary: Speedup and Fix of eclass.cpp setSpecialLoad()
This diff patches eclass.cpp's setSpecialLoad() function
The old version repeatedly used "str += mychar" forcing the CString
class to allocate a new string, copy the old one to it, add
the character and then free the old string over and over and over
The replacement fixes this and removes CString usage at the same time
(so that it can be moved to a module more easily).
This patch could also be used in 1.1.1. (As it's a replacement function, just
cut and paste)
Diff Created using WinCVS on the 1.2 branch.
------- You are receiving this mail because: -------
Whoops! I have no idea!