Ignore:
Timestamp:
Jul 7, 2018, 10:21:29 PM (10 months ago)
Author:
xwa163
Message:
  1. Improve RE_Compiler for multiplexing
  2. Use faster approach for LineBreakStream? generating in LZParabix_grep
File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_compiler.cpp

    r6119 r6127  
    4949void RE_Compiler::addAlphabet(cc::Alphabet * a, std::vector<pablo::PabloAST *> basis_set) {
    5050    mAlphabets.push_back(a);
    51     mAlphabetCompilers.push_back(make_unique<cc::Parabix_CC_Compiler>(mEntryScope, basis_set, mBasisSetNumbering));
     51    mAlphabetCompilers.push_back(make_unique<cc::Parabix_CC_Compiler>(mEntryScope, basis_set, mBasisSetNumbering, false));
    5252}
    5353
     
    628628}
    629629
    630 RE_Compiler::RE_Compiler(PabloBlock * scope, cc::CC_Compiler & ccCompiler, cc::BitNumbering basisSetNumbering)
     630RE_Compiler::RE_Compiler(PabloBlock * scope, cc::CC_Compiler & ccCompiler, cc::BitNumbering basisSetNumbering, bool fakeBasisBits)
    631631: mEntryScope(scope)
    632632, mCCCompiler(ccCompiler)
     
    635635, mStarDepth(0)
    636636, mCompiledName(&mBaseMap)
    637 , mBasisSetNumbering(basisSetNumbering){
     637, mBasisSetNumbering(basisSetNumbering)
     638, mFakeBasisBits(fakeBasisBits) {
    638639    PabloBuilder pb(mEntryScope);
    639640    mLineBreak = pb.createZeroes();  // default so "^/$" matches start/end of text only
Note: See TracChangeset for help on using the changeset viewer.