Perl Client
Brad Fitzpatrick
brad at danga.com
Sun Jul 2 20:38:09 UTC 2006
Patches welcome.
I particularly like being called a non-Perlie, given that that's pretty
much the only language I hack in. :)
- Brad
On Sun, 2 Jul 2006, Marcel Holan wrote:
> Hi,
>
> we haven't looked for a long time on Cache::Memcached (yeah the Perl Client), because it simply works
> for us. But of course one does not want to be potentionally inefficient, so
> before I'll have a look at the new Perl-Client (allegedly 2times as fast as
> Cache::Memcached on CPAN - but not according to your tests).
>
> Well I had a brief look at Cache::Memcached 1.18 on CPAN. Uuuuh - oooh....
>
> Clearly written way before the days of PBP.
> Clearly written by a Non-Perlie.
> Clearly improvable.
>
> Strange. I thought Tree::Nary (on CPAN) which we have re-written for our own
> use and lowered its space requirements by a factor of eight and improved its
> speed by a factor of 10-20 (depending on operation) was an exception.
>
> - Never use "return undef"
> - Never use for-push, use map instead
> - fields?
> - shift instead @_; $_[x] instead shift
> - ...
>
> --
> best regards
> Marcel Holan
>
> project manager R&D
> +----------------------------------------------------------------------------+
> PetaMem s.r.o., Ocelarska 1, 190 00 Praha, Czech Republic - www.petamem.com
>
>
More information about the memcached
mailing list