As mentioned in other thread expansion of strcmp and strncmp with constant has terrible performance. Thankfully there is no optimization of memcmp. Then there are strcoll, strxfrm that are rarely used.