Keep It Simple, Stupid | |
PerlMonks |
RE (tilly) 3: Speeding-up OO accessor methodsby tilly (Archbishop) |
on Sep 19, 2000 at 01:34 UTC ( [id://33033]=note: print w/replies, xml ) | Need Help?? |
The whole point of this hack as I see it is to write a ton of code so in the long run you could switch the implementation from hash access (fast) to something slower but more flexible. Being prepared to move to a tied interface later gives you that flexibility without any loss in speed or extra coding and development effort up front. Downstream that extra time will likely matter more anyways.
In Section
Seekers of Perl Wisdom
|
|