develooper Front page | perl.perl5.porters | Postings from June 2021

Re: Benchmarking Pure Perl Trim Functions.

Thread Previous | Thread Next
From:
L A Walsh
Date:
June 2, 2021 07:41
Subject:
Re: Benchmarking Pure Perl Trim Functions.
Message ID:
60B735D2.7030104@tlinx.org
Doing benchmarks to find best algorithms can be
addictive, but simple question --

what is likely to be the typical input?

It's fine to consider best in class for thousands
of spaces or line lengths >512 characters, but
what is likely to be the best algorithm
for use on large numbers of short strings?

Like maybe a Gaussian distribution around 15-25 characters,
but with many many strings?



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