Subject: Re: Porting code with switch/case on mount type (was int)
To: David Maxwell <david@fundy.ca>
From: Chris G. Demetriou <cgd@netbsd.org>
List: current-users
Date: 05/17/1999 17:48:09
David Maxwell <david@fundy.ca> writes:
> 
> > if you have some weird performance needs, you could use a hash
> > function/table or something, but that's always seemed like overkill to
> > me.
> 
> Probably not a problem, unless I put in support for all the FS types that
> aren't in the code yet too.

Realistically, operations on FS type names shouldn't happen often
enough that you need to worry about efficiency.


> This is for a native NetBSD m3 compiler.

Feh, you're going to take away a flame war topic?!  How could you?


cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.