[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objective-c: how slow ?
From: |
Erik M. Buck |
Subject: |
Re: objective-c: how slow ? |
Date: |
Fri, 7 Sep 2001 15:27:50 -0500 |
> I admit I don't know in detail the lookup mechanism in the objc runtime
> but I suppose that rebuilding the sarray after a inheritance change would
be
> very expensive. Multiple inheritance requres a resoulution when the same
As long as the instance variable layout does not change, dynamically
changing the super class of an existing class is one pointer operation.
Each class object has a "superclass" variable. The message cache tables are
per-class (At least in my runtime and Apple's runtime) so changing a
superclass automatically changes the method cache with no extra effort.
- Re: objective-c: how slow ?, (continued)
- Re: objective-c: how slow ?, Chris Hanson, 2001/09/02
- Re: objective-c: how slow ?, Malmberg, 2001/09/05
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/05
- Re: objective-c: how slow ?, Malmberg, 2001/09/05
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/05
- Re: objective-c: how slow ?, Malmberg, 2001/09/07
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/07
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/07
- Re: objective-c: how slow ?, Erik M. Buck, 2001/09/07
- Re: objective-c: how slow ?,
Erik M. Buck <=
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/07
- Re: objective-c: how slow ?, Malmberg, 2001/09/08
- Re: objective-c: dynamic inheritance and s-arrays [was: how slow] ?, Marko Mikulicic, 2001/09/08
- Re: objective-c: how slow ?, Richard Frith-Macdonald, 2001/09/07
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/07
- Re: objective-c: how slow ?, Malmberg, 2001/09/07
- Re: objective-c: how slow ?, Marko Mikulicic, 2001/09/07
- Re: objective-c: how slow ?, Malmberg, 2001/09/08
RE: objective-c: how slow ?, Bissell, Tim, 2001/09/10