ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Inside the Objective-C Runtime
Subject:   dynamic dispatch cost?
Date:   2002-06-13 13:54:17
From:   rthille
Response to: dynamic dispatch cost?

Also note that for tight loops, you can (outside the loop) do the method-selector to function-pointer lookup once, and then inside the loop just call the function through the pointer.