Optimized string routines - libastring

libastring provides a set of replacement string.h functions which are optimized for AArch64: bcmp, memchr, memcpy, memmove, memset, strchr, strchrnul, strcmpstrcpy, strlen, strncmp, strnlen.

You must explicitly link to the libastring library to benefit from the performance increase. For example:

gcc code_with_string_routines.c -lastring
gfortran code_with_string_routines.f -lastring

Previous Next