Ignore:
Timestamp:
Nov 18, 2021, 5:42:51 PM (3 years ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
fefd77a
Parents:
4d0eb1c
Message:

String perf make-run refactor into fewer rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/zombies/string-perf/prog.cfa

    r4d0eb1c r97d58dc  
    111111        string_res x = "starter";
    112112        string_res y;
    113       #if defined OP_PLUS_THEN_ASSIGN
     113      #if defined OP_PTA
    114114        string_res z;
    115115      #endif
     
    129129              MAYBE( PRINT(y) )
    130130              char *toAppend = corpus[i % corpuslen]; // ? corpus[rand() % corpuslen]
    131               #if defined OP_PLUS_THEN_ASSIGN && defined IMPL_CFA_LL
     131              #if defined OP_PTA && defined IMPL_CFA_LL
    132132                 z = y;
    133133                 z += toAppend;
    134134                 y = z;
    135               #elif defined OP_PLUS_THEN_ASSIGN
     135              #elif defined OP_PTA
    136136                 y = y + toAppend;
    137               #elif defined OP_PLUSEQ
     137              #elif defined OP_PEQ
    138138                 y += toAppend;
    139139              #endif
Note: See TracChangeset for help on using the changeset viewer.