new ini parser, caching
| From: | Alexey Zakhlestin | Date: | Tue, 11 Sep 2007 09:03:39 +0000 |
| Subject: | new ini parser, caching | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-32236@lists.php.net to get a copy of this message | ||
On 9/11/07, Jani Taskinen <jani.taskinen@sci.fi> wrote:
> > For the record here, a cache is planed once we have a stable version.
> > Something like what htscanner does, it already caches the entries
> > (cache + stat check once ttl is over).
>
> Just clarification: the caching is there already. :)
> But I didn't use any stat calls for sake of KISS.
> When cached results expire, the file (if it exists..) is re-scanned.
> Maybe someone has better idea. But that remains to be seen. :)
well, some OSes allow subscribing to the notifications from filesystem
*bsd (including macos-x) use kqueue, linux and winnt have different
mechanisms for the same thing
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/