Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: Re: Word of Recall and Portal (was: Prot/chaos, Efficiency, and Portals)



> From: dragonm <dragonm@leech.org>
> Date: Tue, 21 Sep 1999 11:55:45 -0700

> Nothing wrong with compulsive optimization, but I still recommend
> doing it using a profiler, rather than assuming things.  As I
> recall, there are several architectures out there where bitwise
> operations are slower than integer operations.

Plese tell me you're kidding.  I never would have suspected that that
was even possible.  My logic and processor design classes certainly
never suggested it.  Why would anyone go out of their way to make the
most inherently trivial operations slower than much more complex
operations?


>  In a memory vs. speed tradeoff where a server is concerned, I'm
> inclined to burn the memory.  Also, because of the multi-platform
> nature of Crossfire, an optimization on one platform may be a severe
> detriment to another platform.  Take it easy with bit-level
> optimizations.

You're right.  I didn't realize there was a tradeoff involved.  I
thought bitwise operations were always at least as fast as integer
operations.  Can anyone give me some more information to back this up?
Perhaps an example of such an architecture?  I'm curious as to how
this is even possible.

-- 
            -Dave Noelle,                 dave@Straylight.org
            -the Villa Straylight,  http://www.straylight.org
Coalition Against Unsolicited Commercial Email  ==  http://www.cauce.com

Disclaimer:#include <std_disclaim.sig>

Quote of the Day:
A closed mouth gathers no foot.
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]