• R/O
  • SSH
  • HTTPS

tortoisesvn: 提交


Commit MetaInfo

修订版28736 (tree)
时间2020-02-08 22:07:48
作者stefankueng

Log Message

Add comment why we use CBuffer.

更改概述

差异

--- trunk/src/Utils/UnicodeUtils.cpp (revision 28735)
+++ trunk/src/Utils/UnicodeUtils.cpp (revision 28736)
@@ -35,7 +35,8 @@
3535 // simple utility class that provides an efficient
3636 // writable string buffer. std::basic_string<> could
3737 // be used as well but has a less suitable interface.
38-
38+ // Note: using this CBuffer instead of CString.GetBuffer()
39+ // is more than 20 times faster.
3940 template<class T> class CBuffer
4041 {
4142 private:
Show on old repository browser