From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Wed, 7 Dec 2005 12:44:32 +0100
On Dec 7, 2005, at 5:39, Bob Rogers wrote: > Turns out this is because of "premature optimization" Argh - sorry. That shouldn't have been on of course. I did some benchmarking and must have forgotten to disable it. It is ment to access the signature array faster. The type of the signature array is known as Parrot is constructing it. The flatten code must of course be outside the range of this define. Make sense. Thanks for explaining. But it's not clear to me that it would ever be worth optimizing VTABLE_elements calls, even for the signature array. Seems to me that it's called exactly twice per call/return sequence, true? Thanks a lot for spotting this and the tests, applied - r10385. leo No problem; glad to be useful. If I get a chance, I'll try to work up more call/return tests involving :slurpy and/or :flat. -- Bob