develooper Front page | perl.perl6.internals | Postings from November 2002

Re: [CVS ci] string_set is back for a faster live - not only

Thread Previous | Thread Next
From:
Leopold Toetsch
Date:
November 7, 2002 01:40
Subject:
Re: [CVS ci] string_set is back for a faster live - not only
Message ID:
3DCA34DE.9080101@toetsch.at
Brent Dax wrote:

> Leopold Toetsch:
> # The questions are (and this is IMHO the same problem with PMCs):
> # - set vs assign
> # - what should this program do
> 
> This idea may be totally on crack, but why do we even have S and P
> registers as pointers?  What if the S registers were basically just
> STRING[32] and the Ps were PMC[32], and 'set' was a COW alias-everything
> operation?  This might boost performace, ease memory allocation, and end
> poverty, disease and war.
> 
> Or not.
> 
> Whatever.

Interesting idea, I too had some time ago. I think, this wont work. How 
to you store a PMC/STRING in an aggregate then.

leo


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