Changeset 42 for trunk/src/engine.c


Ignore:
Timestamp:
Feb 11, 2008, 7:53:48 AM (11 years ago)
Author:
cameron
Message:

lib_simd: refactored allocation, bitstream_scan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine.c

    r37 r42  
    7171        scanner_timer = init_BOM_timer(BUFFER_BLOCKS * BLOCKSIZE);
    7272#endif
    73 /*      buf = new LexicalStreamSet;*/
    74         posix_memalign((void **) &buf, sizeof(BitBlock), sizeof(LexicalStreamSet));
    75 #ifdef DEBUG
    76         printf("parser->buf addr = %x\n", (int) buf);
    77 #endif
     73        buf = (LexicalStreamSet *) simd_new(sizeof(LexicalStreamSet)/PACKSIZE);
    7874
    7975  /* Install sentinels for every lexical item stream*/
Note: See TracChangeset for help on using the changeset viewer.