--- leming <[EMAIL PROTECTED]> wrote:
> I may have missed this sifting through the archives, but would implimenting 
> a class system be more efficient in speed and memory than the current 
> struct system?  Not that I don't like the structs, they work rather well, 
> just curious.

Well, classes are a C++ construction.. Rom is not a C++ program. That's
probably why it uses structs instead of classes. In terms of speed and memory
efficiency... that is implementation dependant for the most part though often
times there is actually more of a performance hit (albeit a small one) with
classes than with structs. The real advantages to using classes is the
modularity and flexibility which comes with an OO Design.

~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

Reply via email to