develooper Front page | perl.perl6.internals | Postings from December 2001

Re: Large string patch

Thread Previous | Thread Next
From:
Simon Cozens
Date:
December 29, 2001 21:51
Subject:
Re: Large string patch
Message ID:
20011230055359.GA11329@netthink.co.uk
On Sat, Dec 29, 2001 at 06:25:33PM -1000, David & Lisa Jacobs wrote:
> First, I want to apologize for the size of this patch.  I normally try to
> make bite size changes but this one just touched too many things.  I still
> have a few enhancements to make but wanted to get this in before anyone else
> started hacking on the same pieces.
> 
> This patch had a number of goals.
> 
> * Expand the strings test suite to be more complete
> * Make string commands more consistent (i.e, now the only string command
> that actually changes the original is chopn)
> * Significantly reduce the number of memory allocations and eliminate
> reallocations.

I like this a lot, but I'm not sure I'm happy with the idea of removing
the "interpreter" passing from the string allocation/deallocation stuff.
I'd ask why you've done that, but, when I think about it, I'm not entirely
sure why we pass the interpreter in there in the first place. Dan?

-- 
What would happen if you ran up to Hitler and mentioned Usenet?
	- Kibo

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About