What is PV w/ UTF8=0 or a PV w/ UTF8=1., if it is not "Perl ... assigning a meaning"?
uint8 i = 2; uint16 j = i;
Does the second assignment change the meaning of 2? No. It's still the number of cats my friends has.
my $i = "\x82"; utf8::upgrade( my $j = $i );
Does the second assignment change the meaning of "\x82"? No. It's still the HDMI code for something or other.
because I know I'm never going to call upgrade(), or anything else that might cause perl to assign any other meaning than bytes to my data.
Presumably you mean "anything else that might cause perl to use the 32/64-bit string format", then why didn't you say so?
It's a very weird assumption to make, but you're free to make all the assumptions you want.
In reply to Re^22: Interleaving bytes in a string quickly
by ikegami
in thread Interleaving bytes in a string quickly
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |