drupal_static() is a great function. It doesn't exist in D6 but we're statically caching mostly everything already anyway so there won't really be any speed improvements, the main benefit is that it exposes the static cache we use to other modules that might want to interact with it.
This is more of a housekeeping thing to try and keep the code here in line with "best practices".
Comments
Comment #1
thedavidmeister commentedIn retrospect this seems like massive overkill since the main things being cached are the status of files in the file system - which should not be changing on a single page request and therefore don't need to be reset by other modules.