<div dir="ltr"><div><div><div><div><div>Hello again,<br><br></div>While measuring processing cost I went looking into PageStore::ls(). We have a wiki.d/ directory with 20000 files and this function cost us a fair amount of time, and called multiple times by our fancy pages.<br><br></div>So I was considering creating subdirectories inside wiki.d/ for each group to benefit of OS file system indexing + shave off a lot of the processing on PHP side.<br></div><br>Then I noticed that PageStore via pagefile() appears to support this already. If we changed:<br><br>$WikiDir = new PageStore('wiki.d/{$FullName}');<br><br></div>to<br><br>$WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');<br><br></div>However this is not exposed as an option and requires modifying pmwiki.php<br>I was wondering if that change would be safe and if you can think or bugs or side-effects of performing the change (and adjusting our file structure accordingly).<br><br>Thank you.<br>O.<br></div>