Newsgroups: comp.os.msdos.djgpp Distribution: world From: cwalsh AT nf DOT sympatico DOT ca (Colin Walsh) Organization: Celsius Software - http://celsius-software.hypermart.net Subject: Speed of class access.... Reply-To: cwalsh AT nf DOT sympatico DOT ca Message-ID: <358fdb1d.0@204.101.95.15> Lines: 14 Date: Tue, 23 Jun 1998 16:49:07 GMT NNTP-Posting-Host: 204.101.95.15 NNTP-Posting-Date: Tue, 23 Jun 1998 12:49:07 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm writing a 3D engine using DJGPP and I'm currently at the stage where I could use some optimizations, and I've always heard that C++ classes were slow in some way, and I happen to be using classes for storing my 3D objects (meshes, triangles, texturemaps). So, would it be in my best interests just to write some C helper functions for managing these objects, or is the speed drop negligible? Thanks, Colin Walsh /"Its all fun and games until someone loses an eye...\ |Then it becomes Australian Rules Football!" | \email - cwalsh AT nf DOT sympatico DOT ca /