Scalaterms should use faster way to get origins from IStrategoTerms
Hendrik found out:
I’ve discovered why converting the Stratego terms is slow. I was using
ImploderAttachment::getCompactPositionAttachment
to get the term origin. This seems to traverse the term and all it’s subterms to come up with the origin. Since I do this for every node in the tree, I’m doing a lot of the traversal many times. Is there another (faster/cached) way to get the origin, or could this be optimized?We should switch away from that method here.
Submitted by Jeff Smits on 27 January 2017 at 12:45
Issue Log
On 27 January 2017 at 12:48 Jeff Smits tagged @jeffsmits
On 14 February 2017 at 13:08 Gabriël Konat tagged scalaterms
On 20 January 2021 at 11:28 Jeff Smits commented:
Scala terms have been dropped
On 20 January 2021 at 11:28 Jeff Smits closed this issue.
Log in to post comments