Arrays can get you a pretty hefty boost.
I used to use a hash for the fnt data structure in Text::FIGlet
and switched over to an array. I have some vaery basic stats
in the Changelog.

  -f mini -m 0 -A Hello #Hash
  1.800u 0.020s 0:01.81 100.5%    0+0k 0+0io 253pf+0w
  -f mini -m 0 -A Hello #Array
  1.250u 0.050s 0:01.29 100.7%    0+0k 0+0io 251pf+0w

Where mini is 900 lines...
-- 
H4sICNoBwDoAA3NpZwA9jbsNwDAIRHumuC4NklvXTOD0KSJEnwU8fHz4Q8M9i3sGzkS7BBrm
OkCTwsycb4S3DloZuMIYeXpLFqw5LaMhXC2ymhreVXNWMw9YGuAYdfmAbwomoPSyFJuFn2x8
Opr8bBBidccAAAA=
--
MOTD on Prickle-Prickle, the 12nd of The Aftermath, in the YOLD 3167:
Oh dear, I've gone and inflated my ego.

Reply via email to