3 ms·
Agreed. I saw measurable speed increases when defaulting to ASCII (via macro) and only actually calling the decoder function if the value wasn't < 128. #define
by torstenvl 2y ago
Agreed. I saw measurable speed increases when defaulting to ASCII (via macro) and only actually calling the decoder function if the value wasn't < 128.
#define cdpt(s) ((s[0] < 128) ? s[0] : cdpt_func(s))
https://github.com/torstenvl/trex/blob/master/src/trex.c https://github.com/torstenvl/trex/blob/master/src/trex.c