Import herumi/mie optimized string functions to core