On 9 Jul 1999, Jan Vroonhof wrote:
Justin Vallon <vallon(a)mindspring.com> writes:
> a) Is there anyway to make the regexp stack larger?
This is the process stack, use 'ulimit' from your shell.
Are you on Digital Unix?
> b) Does a larger regexp stack hurt performance? (a little memory isn't
> that expensive, but I wouldn't want to slow things down)
It shouldn't cost you at all on modern operating systems.
HPUX 10.20. Are you sure that the regexp engine is running out of process
stack, and not running out of some sort of space in a 'RegExpState
stack[256]' variable?
Also, as far as I understand, I'd have to be root to increase a ulimit
parameter.
I'll try it, though.
-Justin
vallon(a)mindspring.com