Leopold Toetsch wrote: > > Benjamin Goldberg <[EMAIL PROTECTED]> wrote: > > > Also, although we're told at the top of string.c to not look at > > s->bufstart or s->buflen, I'd like to know if we are allowed to > > assume/assert that for all strings, the following is true: > > > s->encoding->skip_forward( s->strstart, s->strlen ) == > > (char*)s->bufstart + s->bufused > > No. F<res_lea.c> e.g. is using a reference count at bufstart. But with > s/bufstart/strstart/ above equation sould be true.
To what does 'bufused' refer? The number of bytes from where to where? I *thought* that it was from bufstart to the end of the string... no? And where is all this documented? -- $a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca );{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL PROTECTED] ]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}