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