|
An Introduction to Class::DBI - Bonus Material
|
46
|
|
|
Class::DBI Gotchas
A strategy for when to use autoupdate()
Turn on autoupdate for all classes
If your application runs fast enough, go home!
If your application is too slow, profile it and find out where it's slow. (try Devel::AutoProfiler)
If you find an area where turning off autoupdate() can boost performance, then do so just for that object
Remember, 'premature optimization is the root of all evil'.
|
|