enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 317 forks source link

Make sure identical Strings are shared #10409

Closed JaroslavTulach closed 2 days ago

JaroslavTulach commented 2 days ago

Pull Request Description

Closes #10330 by making sure all Name.Literal instances share the same reference to Standard other strings.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

JaroslavTulach commented 2 days ago
Module Original Size New Size
Standard.Base similar 31MB
Standard.Table similar 19MB
Standard.Database similar 17MB
Standard.Test similar 3,3MB
Standard.AWS similar 2,5MB
Standard.Snowflake similar 2,1MB
Standard.Visualization similar 1,9MB

I was seeing some improvements before creating the PR, but now I cannot find them! Closing for now.