mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Core: Fast compress + xxHash adopted to Core
git-svn-id: svn://ultimatepp.org/upp/trunk@9954 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2391336e4d
commit
0767a2770a
20 changed files with 3107 additions and 8 deletions
|
|
@ -429,6 +429,7 @@ public:
|
|||
void Strlen();
|
||||
void Clear() { Free(); Zero(); }
|
||||
void Reserve(int r) { int l = GetLength(); SetLength(l + r); SetLength(l); }
|
||||
void Shrink();
|
||||
|
||||
void Cat(int c) { if(end >= limit) Expand(); *end++ = c; }
|
||||
void Cat(int c, int count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue