Using tie to Escape Feature Creep

Length: 15 minutes

Description

My Memoize module was very successful. As is usual with successful software projects, everyone wanted to change it. Users wrote in with requests for all sorts of new features, sometimes with patches. But every new feature makes the module a little bigger and a little slower, and after you put in twenty patches that make the module 5% bigger and slower, you have a big bloated slow monster. That is bad for any module, and it is especially bad for Memoize because the whole point of Memoize is that it is supposed to make your program faster.

So how to accomodate these folks' desire for features without making everyone else pay the price?


Complete Slides

  1. Using tie to escape feature creep, 1: Using tie to Escape Feature Creep
  2. Using tie to escape feature creep, 2: Memoize
  3. Using tie to escape feature creep, 3: Internals of Memoize (One slide only!)
  4. Using tie to escape feature creep, 4: Users
  5. Using tie to escape feature creep, 5: Solution
  6. Using tie to escape feature creep, 6: Custom Cache Managers


Return to: Universe of Discourse main page | Perl Paraphernalia | Other Classes and Talks

mjd-perl-yak+@plover.com