Mail Archives: djgpp-workers/2001/11/11/15:20:53
> Date: Sun, 11 Nov 2001 19:27:21 +0000
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
>
> I'll add some text to develop.txi too.
Thanks.
> > 2) I'm a bit worried by the possible slow-down, due to the call to
> > statfs. Could you compare the old and the new versions, at least
> > on hard disks, floppies, and CDs?
>
> I'll look at that later in the week. A single stat call may be hurt badly,
> but programs that stat files on the same drive a lot shouldn't be hurt
> much, because of the caching mechanism. If it really is a lot slower, we
> could add another flag to _djstat_flags for those people really concerned
> with performance (_STAT_BLKSIZE perhaps).
If the slow-down is real, perhaps it would make sense to see if files
on a hard disk are ``punished'' much less than on floppies and CDs.
If that is indeed so, we could supply some constant values for the
latter two cases, since they are not very important, and the variation
between block sizes in those cases is small (unlike with hard disks).
- Raw text -