Lesson Of The Day
Today’s lesson is manyfold:
Devel::Size is your friend;
- Maintaining state across runs of a program is good unless said state is able to keep getting bigger because of circumstances beyond your control;
- In which case it is a very good idea to keep checking it for size and pruning it whenever you have to…
- Especially if you launch many many copies of said program in parallel.
Got all that? Good! :-)
About this entry
Originally written on Oct 06, 2006 @ 17:47
Read this post stand-alone (permanent link)
[
|
]
Tagged as:
perl,
programming
Related stories: "
lpw_2007_maybe" ; "
mock_objects" ; "
cpan" ; "
lpw_2007_definitely"