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

Re: client/server once again




--------

    
    
    "Rupert G. Goldie" wrote:
    > I suspect there are plenty of optimisations we can make to Crossfire
    > to speed it up. At some stage someone has to sit down with a profiler
    > (anyone have Quantify ?) and see where the slow bits are.

Been there, done that, allthough I used gprof.
    
    This is a totally wild guess, but maybe in X11?

    :-)

Nope.  When I attempted to run crossfire on my 386-33 Linux box, it 
was unplayable, not because of time spent in the X server, but 
because of time spent doing floating point arithmatic since all of 
the timing variables were floats.

Converting the floats to fixed point arithmatic speeded things up
by an order of magnitude, but unfortunately I introduced a bug 
someplace (core dump) and lost the changes in a disk crash before
I got a chance to make them stable.

I use a 486-66 now, and it's fast enough without any changes.