There is little point to a pool allocator with shared_ptr, since ref counters are still allocated as well.

This commit is contained in:
Twan van Laarhoven
2020-05-04 00:44:50 +02:00
parent 07fe2406e7
commit 9f99bf4658
+3 -1
View File
@@ -202,7 +202,9 @@ ScriptValueP rangeIterator(int start, int end) {
// ----------------------------------------------------------------------------- : Integers
#define USE_POOL_ALLOCATOR
#ifdef USE_INTRUSIVE_PTR
#define USE_POOL_ALLOCATOR
#endif
// Integer values
class ScriptInt : public ScriptValue {