TruffleSOM with SimpleLanguage-Style Call Caches
Stefan Marr
java at stefan-marr.de
Tue Dec 10 07:51:55 PST 2013
Hi:
On 10 Dec 2013, at 16:02, Stefan Marr <java at stefan-marr.de> wrote:
>> What's the difference between Unary, Binary and Ternary send nodes? Did you see a need to differentiate between them? They all have arrays of children, so it’s not removing the array indirection.
>
> I rely on the argument array for Binary and Ternary because Christian suggested it, and I think, it is not supposed to make a difference. But indeed, at the moment, it is rather pointless to have the array there.
> I wasn’t able to unify more of the code, so, I could remove the indirection, and make the code slightly nicer.
And removing that generalization fixes my issue with escaping frames :)
https://github.com/smarr/TruffleSOM/commit/48b24271d8c0ea7be24523f154cbb7e9493c593b
But the result is really slow. I have seen better numbers previously. Fibonacci for instance was already 3x faster.
Did any of the heuristics or thresholds change?
Best regards
Stefan
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525
More information about the graal-dev
mailing list