Subject: Re: Porting code with switch/case on mount type (was int)
To: David Maxwell <>
From: Chris G. Demetriou <>
List: current-users
Date: 05/17/1999 17:48:09
David Maxwell <> 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?

Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.