Re: [PATCH] Re: Object internal switchover done

2004-03-17 Thread Leopold Toetsch
Mitchell N Charity <[EMAIL PROTECTED]> wrote: > Patch attached. I've renamed the files to oofib sp running parrotbench -b='^oo' gets then all. Thanks, applied. > My optimized parrot ran it a factor of 2x slower than my perls, 3x than > my ruby, with my pythons in between. Unoptimized was just a

Re: Object internal switchover done

2004-03-17 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Looks like it may be time to investigate things further. A method > cache is probably the next thing in line to do. Yep. The OO-version of fib spends by far the most time in callmethcc. fib/fibA (3/4th of the calls) need 4 hash lookups currently. leo

[PATCH] Re: Object internal switchover done

2004-03-16 Thread Mitchell N Charity
Looks like it may be time to investigate things further. A method cache is probably the next thing in line to do. I didn't see a benchmark for method lookup and calling, so I modified a copy of fib to bounce back and forth between a class and its parent. Patch attached. My optimized parr