• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revisão28736 (tree)
Hora2020-02-08 22:07:48
Autorstefankueng

Mensagem de Log

Add comment why we use CBuffer.

Mudança Sumário

Diff

--- 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