Note that this is not the plan. The immediate plan is to compile all regexes to bytecode at runtime. Future directions include compiling trivial regexes to native code and compiling other regexes to bytecode at compile time, but at no point is it expected that Swift will drop the runtime bytecode interpreter.
4 Likes