PATCH: [
1302710 ] generating a report is slow
Perry added comments explaining one code line
Src: DirCmpReport.cpp
+2005-10-03 Perry
+ PATCH: [ 1302710 ] generating a report is slow
+ Perry added comments explaining one code line
+ Src: DirCmpReport.cpp
+
2005-10-03 Kimmo
PATCH: [ 1302710 ] generating a report is slow
Submitted by Takashi Sawanaka
return FALSE;
}
+ // Preallocate large CString buffer to speed up building the string
+ // (because CString::Append is not smart enough to preallocate exponentially)
m_sReport.GetBufferSetLength(m_pList->GetItemCount() * 512);
if (dlg.m_nReportType == REPORT_SIMPLEHTML)