Re: CRLF fun stuff again...


Subject: Re: CRLF fun stuff again...
From: Duncan Sinclair (sinclair@dis.strath.ac.uk)
Date: Mon Feb 12 2001 - 13:17:00 EST


Bob Rodgers writes:
> From: "Marc J. Miller" <itlm019@mailbox.ucdavis.edu>
> Date: Sat, 10 Feb 2001 19:43:36 -0800

> Okay, I agree with the former, but the latter is a little more
> complicated. String compares are slow. For each file copied, the
> name has to be checked against the following list (and this is just
> off the top of my head) . . .

>If necessary, this table lookup could be hashed for speed (if it isn't
>already). But I would be very surprised to learn that the speed
>difference was even measurable, compared to the other overhead of
>opening & serving a file. String compares aren't *that* slow. And
>since this lookup only applies for files created by Unix (or Samba),
>it's even less of an issue.

Plus the fact that the Mac (via File Exchange) does a similar extension
scan on file types it doesn't recognise... I haven't heard anyone
complain that File Exchange slowed down their Mac or was a waste of
time.

Cheers,

Duncan.



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:32 EDT