|
|
|
|
|
by burntsushi
408 days ago
|
|
The nuance is specifically relevant here because neither of the other two regex engines benchmarked have this requirement. It's doubly relevant because that means running a regex search doesn't require a UTF-8 validation step, and is therefore likely beneficial from a perf perspective, dependening on the workload. |
|
Edit: After a little testing, the strings can be read from and written to files without triggering validation. Presumably this applies to sockets as well.