Ignore:
Timestamp:
Oct 28, 2014, 12:17:38 PM (5 years ago)
Author:
nmedfort
Message:

Implemented slab allocator based on the original Parabix StringPool?; intergrated it with RE and Pablo AST nodes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_diff.h

    r4255 r4272  
    2828protected:
    2929    friend Diff * makeDiff(RE*, RE*);
     30    void* operator new (std::size_t size) noexcept {
     31        return mAllocator.allocate(size);
     32    }
    3033    Diff(RE * lh, RE * rh)
    3134    : RE(ClassTypeId::Diff)
Note: See TracChangeset for help on using the changeset viewer.