adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] On source code structure and backends


From: Alexandre Courbot
Subject: Re: [Adonthell-devel] On source code structure and backends
Date: 08 Mar 2003 15:46:36 +0100

> >Uh, I practically know nothing about the performance impact of virtual
> >methods. But as you say yourself, compared to the actual work the method
> >does, it would not matter much. So if there's no way to avoid them, I
> >believe we can easily live with them :). To be frank, I don't expect to
> >be able to play v0.4 on my old P200. And I do not mind if it uses 30%
> >CPU on my Athlon instead of 27%.
> 
> Let us not forget aout the Zaurus and other hlinux handhelds.
> Performance might be a problem there

No worries - I don't think it's the use of virtual functions that would
forbid the use of the game on a given machine. Moreover they would only
concern the user interface part - not the game itself (although,
functions in Python are *always* virtual - but their call frequency is
anecdotical compared to the rest). And if needed, we can always make a
special client for small machines that won't have the backend mechanism
but that won't require using virtual functions neither. Just need to
change a few includes, and voila! :)

Alex.
-- 
http://www.gnurou.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]