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

faster,, ..

Thread Previous | Thread Next
Enache Adrian
September 8, 2003 05:51
faster,, ..
Message ID:
On Mon, Sep 08, 2003 a.d., Nicholas Clark wrote:
> I think that I had trying to make less heavy in my TODO.
> as a start, I was considering surveying which values in %Config are
> popular, to try to partition those from the vast majority, which are
> deadweight in nearly every program. As %Config is a tied hash, I believe
> that it can all be done transparently.

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:

Please try this on a *BSD with the system's malloc:

$ perl -e 'use charnames ":full"; print "\N{LATIN SMALL LETTER A}"'


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