develooper Front page | perl.perl5.porters | Postings from September 2003

Re: faster,, ..

Thread Previous | Thread Next
Elizabeth Mattijsen
September 8, 2003 06:06
Re: faster,, ..
Message ID:
At 14:45 +0300 9/8/03, Enache Adrian wrote:
>On Mon, Sep 08, 2003 a.d., Nicholas Clark wrote:
>  > I think that I had trying to make less heavy in my TODO.
>Since does an C<index> in a big string (which is fairly fast),
>I don't think you're gonna to win anything by splitting that string in
>smaller pieces and then putting there a complicated high-level logic to
>select between them.
>More could be win by slurping instead of putting it into a
>here document, especially on platforms with a bogus realloc.
>But is rather small anyway -- let's better talk about charnames:

I'm only interested (probably my tunnel vision  ;-) in saving memory, 
as that means saving memory multiple times over when using threads, 
plus making threads faster on startup.

>Please try this on a *BSD with the system's malloc:
>$ perl -e 'use charnames ":full"; print "\N{LATIN SMALL LETTER A}"'

;-)  Don't try this at home, then...  ;-)


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