You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those seem more concise than doing an indirect table lookup through the GOT; unfortunately it doesn't seem faster according to llvm-mca for -mcpu=skylake: https://godbolt.org/z/K8zYxfYbE
most time is spent in this loop:
which is
isAsciiIdentifierContinue
.$0xe8 == (CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER)
.I bet we can do something better than a table lookup. (Edit: I was curious if glibc had any clever tricks; they also do table lookup: https://sourceware.org/git/?p=glibc.git;a=blob;f=ctype/isctype.c;h=dd6ca328899b9c68f83d0d2e69f68fd65ecc3bba;hb=HEAD#l25) Terrible idea: solve the 7 input kmap for the ascii table: https://www.mathematik.uni-marburg.de/~thormae/lectures/ti1/code/karnaughmap/
(
0x3f == '?'
, fromgetCharAndSize
callingisObviouslySimpleCharacter
).The text was updated successfully, but these errors were encountered: