On Mon, 31 Mar 2003, Joshua Hoblitt wrote:

> I started implementing all of ISO8601:2000 last night with Builder.pm.
> After looking at the pod for awhile I started thinking that this could
> be simplified [and optimized] a little if you don't mind dirtying the
> namespace.
>
> Some POEish like this:
>
> my ($date, $p) = @_[ INPUT, PARSED ];

Ugh, this is _so_ ugly, and it's a really silly micro-optimization.  In
most normal code, you spend most of your time doing "stuff", not passing
arguments, so optimizing argument passing is generally not going to be
much of a win.  And it's certainly not worth it when it forces such weird
non-standard internals.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to