BER is all very well, but it turns out that it's better to store the
authorNicholas Clark <nick@ccl4.org>
Sat, 5 Jan 2008 11:30:31 +0000 (11:30 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 5 Jan 2008 11:30:31 +0000 (11:30 +0000)
commit69240efd70fee399a5232ed995c383b154000a08
tree79c33453a3adc1fdccc1d469a75b1aeb49898614
parentbdd9a1b1ec56a0b6b7d8b1b363138a8fbd3040e3
BER is all very well, but it turns out that it's better to store the
offset as either a byte (if <256), or a 0 byte with a STRLEN before.
"better" in that the reading can be inlined, and even then the object
code is smaller (function calls have space overhead). So goodbye
Perl_sv_read_offset() and hello SvOOK_offset().

p4raw-id: //depot/perl@32838
dump.c
embed.fnc
embed.h
global.sym
pod/perlapi.pod
proto.h
sv.c
sv.h