3 ms·
I think it would be reasonable to have strlen, strchr and the other str*() functions as processor instructions by now. With no 16 byte restrictions.
by ape4 13y ago
I think it would be reasonable to have strlen, strchr and the other str*() functions as processor instructions by now. With no 16 byte restrictions.
- yoklov 13y agoWell it's 16 bytes at a time, and not 16 bytes maximum, but there are already the (arguably misguided) repeat prefixes for string instructions, which are designed for more or less that exact purpose.