[dokuwiki] Re: Reflexion on metafiles

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 31 Mar 2010 11:39:28 +0200

On Wed, Mar 31, 2010 at 11:34:35AM +0200, YoBoY wrote:
> In my search of limiting disk access by limiting use of the readdir()  
> function, I'm studying the metaFiles($id) function in inc/pageutils.php  
> file. This function is only used on the deletion of a page to search all  
> the meta files associated to this page to delete them (we only keep  
> .changes and .meta files).

The function was recently patched to use PHP's glob function instead of
walking the whole directory. Does this change anything for you in terms
of performance?

Regards,
        Michael

-- 
Michael Klier

www:    http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: