[Cuis-dev] Thoughts about symbols
Juan Vuletich
juan at cuis.st
Sun Dec 1 06:38:57 PST 2024
On 12/1/2024 5:14 AM, Andres Valloud via Cuis-dev wrote:
> By the way, SymbolSet>>rehash is broken because it's not aware of
> UnicodeSymbol. Look at this lovely failure.
>
> | haha |
> haha := 'abc¢' asUnicodeString asSymbol.
> Symbol rehash.
> Symbol findInterned: haha :: == haha
>
> That's very bad, this is leaking symbols and will lead to problems
> that are very hard to debug. Images where this problem manifests are
> effectively trashed and need to be rebuilt from scratch --- and this
> is why I would not want to have to deal with this.
>
> IIRC, when I originally wrote the new symbol table code, UnicodeSymbol
> did not exist. I find it really hard to believe that I would ignore
> the presence of UnicodeSymbol. So, I suspect this issue appeared
> during integration, and if so this is yet another consequence of
> duplication.
>
> Andres.
Thanks for the fix. It is now at GitHub.
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list