andgineer / TRegExpr

Regular expressions (regex), pascal.
https://regex.sorokin.engineer/en/latest/
MIT License
174 stars 63 forks source link

Minor change to make little faster #185

Closed Alexey-T closed 4 years ago

Alexey-T commented 4 years ago

@andgineer I suggest to lower (move down) the checks for \v \V \h \H in "case" blocks in all places, to little speedup case blocks. \v \h are rarely used. OK?

andgineer commented 4 years ago

That's ok for me. Too bad this is sequential in any case - better it be hashed :(

Alexey-T commented 4 years ago

Maybe I can make array[char] of <func>. will see.