Dedup empty arrays in parsing by pocke · Pull Request #1950 · ruby/rbs
This patch dedups empty arrays allocated during parsing. Currently, RBS allocates many arrays during parsing. It consumes a lot of memory. This patch reduces memory usage by deduping empty arrays. ...