リビジョン | 28736 (tree) |
---|---|
日時 | 2020-02-08 22:07:48 |
作者 | stefankueng |
Add comment why we use CBuffer.
@@ -35,7 +35,8 @@ | ||
35 | 35 | // simple utility class that provides an efficient |
36 | 36 | // writable string buffer. std::basic_string<> could |
37 | 37 | // 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. | |
39 | 40 | template<class T> class CBuffer |
40 | 41 | { |
41 | 42 | private: |