On Wed, Jan 25, 2006 at 10:24:51PM +0000, Alberto Sim?es wrote:
> For me, both options are reasonable. Chip's proposal have the advantage 
> of caching the info. Using is_dir and is_file to stat everytime, have 
> the advantage of not having a specific Stat PMC object.
> Other option, is having one is_dir() and one cached_is_dir().

Regardless of what Chip intended to say, please don't go caching the
state of a filesystem...

-J

--

Attachment: pgp0SMYHIuLqv.pgp
Description: PGP signature

Reply via email to