Made some places CTFE-able again after replacing countUntil with indexOf (which uses memchr).