Women in Technology

Hear us Roar

  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.