Doug Turner wrote:
> At today's API review, we took a look at nsIFile and friends. The
> conclusion was some serious changes to this interface which will effect
> all callers. By some napkin calculations, we estimated at least 3 weeks
> of work for this complete task. I will present what was proposed.
>
> In Generally, the changes are:
>
> Factoring nsIFile into two pieces.
> Removing non unicode functions.
> Removing explict symlink function.
>
> These changes are all independant of one another, but probably should be
> done serial by one person.
>
> The biggest change is that nsIFile and nsILocalFile should be split into
> two logical pieces: file description and the file system service. The
> first piece would just be basic filepath manipulation, initalization,
> and stat getters. The other piece, the file system service (I pull that
> name out of the air) would take one or two nsIFile's and perform
> operations on them.
>
At the weekly footprint and performance meeting, we've talked about
an abundance of stats and files being repeatedly stat'ed. It may be
something to keep in mind with the new stuff.
Dave