carrierwaveuploader/carrierwave — pull request #1123 by kbaum (2013-06-11 20:56:08+00:00)
Title: Performance optimization of SanitizedFile#path

Noticed when running my integration tests through ruby-prof that significant time was being spent within SanitizedFile#path. Memoized the result of that calculation which reduced the number of calls to File#expand_path by around 200X and the bottle neck seemed to go away.