Skip to content

Commit

Permalink
There is little point to a pool allocator with shared_ptr, since ref …
Browse files Browse the repository at this point in the history
…counters are still allocated as well.
  • Loading branch information
twanvl committed May 3, 2020
1 parent 07fe240 commit 9f99bf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/script/value.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit 9f99bf4

Please sign in to comment.