Author: theraven
Date: Fri Apr 12 12:35:51 2013
New Revision: 36509

URL: http://svn.gna.org/viewcvs/gnustep?rev=36509&view=rev
Log:
Remove the test for whether the uninstalled dtable is present from
objc_msgSend().  If the class does have the uninstalled dtable, then every
method will be the nil slot and so, after navigating the dtable we will
discover that it is nil and go into the slow path.  The cost of this change is
a slight slowdown in the first message sent to every class.  The benefit is
that every subsequent message send needs one fewer memory access and one fewer
conditional jump.


Modified:
    libs/libobjc2/trunk/objc_msgSend.x86-32.S
    libs/libobjc2/trunk/objc_msgSend.x86-64.S


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to