perl5
perl5 copied to clipboard
🐪 The Perl programming language
Previously, that was the case for backwards hops, but if a forward hop started at a continuation byte, each such byte in the current character consumed one hop count.
This changes utf8_to_bytes() to do a per-word initial scan to see if the source is actually downgradable, before starting the conversion. This is significantly faster than the current per-character scan....
My mental model of how the C preprocessor did things was flawed. This commit makes things clearer. It needs some polishing
Capitalize Perl where it is referred to the language rather than the interpreter. Format one direct interpreter reference as code.
I decided not to document sv_catpvn_nomg_utf8_upgrade(), as it is extremely specialized
"This is terrifying code" At $work there was a story about hardware that collectively handled perhaps billions of phone calls a day. The interrupt handler was long spaghetti code which...
Rather than using `STDIN` and `STDOUT`, open our own private file handles that refer to POSIX file descriptors 0 and 1. This makes `open3` work even if STDIN/STDOUT don't refer...