On Fri, Sep 19, 2014 at 2:35 AM, Max Leske <[hidden email]> wrote: I’ve written an implementation of lazily initialized expandable collections (for OrderedCollection and subclasses only for now), inspired by Alexandre’s talk at ESUG (http://www.youtube.com/watch?v=x0YJ2dsZdKg&list=UUO-vBhaKVZf0al-ISMMPvRw). The implementation is pretty much straight forward but there are a couple of culprits I want to point out in case anybody else wants to do this: Yes, alas the shape of MethodDIctionary is baked into the VM's method lookup code. It would be straight-forward to fix it, but it is still work and one would have to wait for people to update their VMs. I’ll share some memory monitoring as soon as I have something significant (only just rolled it out). best, Eliot
|
On Mon, Sep 22, 2014 at 5:10 AM, Max Leske <[hidden email]> wrote: --
The latter. It does make accessing method dictionaries on lookup slightly slower but lookups are rare in both the interpreter and the JIT.
best, Eliot
|
Free forum by Nabble | Edit this page |