Polymorphic Inline Cache

From Wikipedia, the free encyclopedia

Polymorphic Inline Cache is when you cache more than one object->method lookup pair per location in the code. Ex from the ruby language:

def go(a)
 a.go
end

if you call this with different a parameters then the VM would 'remember' which one goes with which and cache and reuse those.

ref: http://research.sun.com/self/papers/pics.html http://www.ruby-forum.com/topic/55723