<br><br><div class="gmail_quote">On Sat, Dec 4, 2010 at 6:39 PM, Andreas Raab <span dir="ltr"><<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On 12/3/2010 9:12 PM, Igor Stasenko wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
don't need a lookup? how?<br>
you still have a method dictionaries, and keys there are not ordered<br>
nor sequential ( yes, you can make selectors in a single class<br>
to be sequential , like 1 , 2 ,3 ,4 , then you don't need to do a<br>
lookup for a single given class, but for the rest of classes which<br>
obviously contain different set of selectors, you won't be able to do<br>
that).<br>
</blockquote>
<br></div>
Sorry, "no lookup" referred to the initial comment of wanting somehow to map selectors to some number (which I presumed was an index into some database to load the unloaded compiled method). Of course, method lookup is still required.<br>
<br></blockquote><div><br>Yes, you don't need lookup, but you need the methodMap... I mean, I can also store in the proxy instance its class+selector where it is installed. Or use a global map, or whatever. And yes, I avoid the lookup, but I spend memory on that. Then I can not store anything at all, and search it.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Cheers,<br><font color="#888888">
- Andreas<br>
</font></blockquote></div><br>