search for: expensive_calculation

Displaying 1 result from an estimated 1 matches for "expensive_calculation".

2009 Oct 01
2
Any way to avoid instantiating a class twice?
Hey everyone, I''m trying to find a work around for a performance problem I''ve been having. I have a class that builds paths (among other things) dynamically to many files and folders depending on what sets of information the user accesses. Once built, this class instantiation contains all the information necessary for several pages (controllers/views) to operate. However at