Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!bionet!agate!ucbvax!LL.MIT.EDU!preston From: preston@LL.MIT.EDU (Steven Preston) Newsgroups: comp.sys.next Subject: Re: speed of access methods vs. object_getInstanceVar Message-ID: <9101111339.AA07900@LL.MIT.EDU> Date: 11 Jan 91 18:39:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 11 Newsgroups: comp.sys.next scott@mcs-server.gac.edu (Scott Hess) writes: > The moral of the story? Use accessor methods. In most cases, they > are not that slow if they are used enough - if they aren't used enough > to stay in the cache, you probably shouldn't be worrying that much about > a couple cycles, because it won't add up. Actually, as I understand it, methods get added to a cache, but are never removed. The cache size is expanded (doubled) whenever it becomes 3/4 full, but the cache is never contracted.