develooper Front page | perl.perl5.porters | Postings from February 2008

Re: a warning I'd like to see

Thread Previous | Thread Next
February 18, 2008 06:39
Re: a warning I'd like to see
Message ID:
On 18/02/2008, Mark Jason Dominus <> wrote:
> Yves Orton:
> > ST is one place where we could really use python style tuples.
> I've always been really glad Perl didn't have Python-style tuples.
> They're a great example of an implementation detail that unnecessarily
> leaks out to user space.
> > It is slowed down quite a bit by the construction cost of
> > manufacturing loads of tiny little arrays. If we had tuples we could
> > make things like ST much more efficient.
> I think there are better solutions to this problem, if it is actually
> a problem.

Personally i think it is a bit of a problem. Arrays are expensive to
create and destroy, wheras tuples shouldnt be.

But i think its moot overall, as we arent going to retrofit tuples
into perl anyway.


perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About