Well, yes, very small strings are allocated with block-alloc (less than 12 bytes or so, perhaps? I don't remember the exact cutof value)
I very much doubt that that is the problem, though.
/ Per Hedbor ()
Previous text:
2003-10-27 12:55: Subject: Re: Are strings generally limited?
| Pike v7.5 release 12 running Hilfe v3.5 (Incremental Pike Frontend) | > Regexp.PCRE rx=Regexp.PCRE( "("([^"\\]|\\.)*")" ); | > rx->split( """ + "x"*0xE800 ); | zsh: segmentation fault pike
Ouch. That lowered my esteem for PCRE quite a bit. It ought to be reported to them.
Yes, if it is a PCRE problem and not a Pike problem... But I can't see how it can be a Pike problem. Does Pike switch method somewhere depending on string length?
/ Mirar