Avoid std.string.startsWith, which does pointless UTF-8 decoding