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:
cxl 2016-06-21 18:57:18 +00:00
commit 0767a2770a
20 changed files with 3107 additions and 8 deletions

View file

@ -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);