Subject: Re: Porting code with switch/case on mount type (was int)
To: David Maxwell <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 05/17/1999 17:48:09
David Maxwell <email@example.com> 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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.