Article View: net.lang.c++
Article #346Re: Re.: C++ preprocessor wanted
From: braner
Date: Wed, 15 Oct 1986 14:47
Date: Wed, 15 Oct 1986 14:47
15 lines
1224 bytes
1224 bytes
[] If 100000 calls take 4 seconds, that's 40 uS per call, not 4. BTW, the 100 uS time I mentioned is for sending a method-token to an object, complete with the lookup and the late binding. And it is on the Atari ST. For comparision, a standard C function call (passing an integer both ways) has a 25 uS overhead, approximately. Of course, any useful function (or method) would take at least another 20 uS to do its thing, and usually a lot longer. - Moshe Braner PS: I got many requests for the Object-Oriented C Programming. I'll prepare a posting, one of these days.
Technical Details
Message-ID:
<1213@batcomputer.TN.CORNELL.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!batcomputer!branerReferences:
<6174@alice.uUCp>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!batcomputer!braner From: braner@batcomputer.TN.CORNELL.EDU (braner) Newsgroups: net.lang.c++,net.micro.atari16 Subject: Re: Re.: C++ preprocessor wanted Message-ID: <1213@batcomputer.TN.CORNELL.EDU> Date: Wed, 15-Oct-86 10:47:20 EDT Article-I.D.: batcompu.1213 Posted: Wed Oct 15 10:47:20 1986 Date-Received: Thu, 16-Oct-86 05:55:40 EDT References: <6174@alice.uUCp> Reply-To: braner@batcomputer.UUCP (braner) Organization: Theory Center, Cornell University, Ithaca NY Lines: 15 Summary: function call overhead reviewed