Skip to content
Snippets Groups Projects
Commit 87f72e54 authored by arq5x's avatar arq5x
Browse files

reduce QuickString DEFAULT_CAPACITY to 8 instead of 256 to save memory.

parent ebf9a72c
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ private: ...@@ -63,7 +63,7 @@ private:
size_t _currCapacity; size_t _currCapacity;
size_t _currSize; size_t _currSize;
static const int DEFAULT_CAPACITY = 256; static const int DEFAULT_CAPACITY = 8;
void build(); void build();
void set(const char *len, size_t size); void set(const char *len, size_t size);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment