June 2007
Intermediate to advanced
294 pages
8h 6m
English
What was new in this chapter?
Recursive factorials and Fibonaccis as good profiling candidates
Refactoring
Memoization
Testing with Benchmark
Profiling
Converting temperatures
Hashes with Proc values as Proc Factories
Composition of Procs
Testing with Test::Unit
Again, that’s a lot to take in. This list is deceptively short, because some of these concepts require more contemplation than those we’ve considered in previous chapters. Let’s move on to the next chapter, in which we’ll write some tools for processing HTML and XML.
Read now
Unlock full access