- changed status to resolved
Avoid unnecessary allocation for call-next-method
Issue #223
resolved
According to this article (http://blog.practical-scheme.net/gauche/20170422-next-method), if we avoid allocating unused call-next-method
, then we might be able to obtain 35% performance improvement.
Since we don't have much information about source code on procedure, what we can do is the following:
1. Check LREF(0) of actual implementation procedures of method
2. Modify add-method
or method creation to call above
3. Set flag to the method
Comments (1)
-
reporter - Log in to comment
Don't allocate next method when unnecessary (Fixes
#223)→ <<cset d589ed1d83e8>>