» To Project

Maximal sharing of StrategoStrings disabled

StrategoXT #834 - Error (by Lennart Kats on Jul 20)

Maximal sharing of StrategoStrings may be broken, causing problems like Spoofax/207.

Related: StrategoXT/801.

Issue Log

On Jul 20 Lennart Kats wrote:

As of r21118, I disabled the MAXIMALLY_SHARED assumption in the code, so that it no longer uses pointer equality to compare strings. This change doesn't seem to have a performance penalty in my normal benchmark, but ensures that equality works properly even if maximal sharing failed.

Log in to post comments