| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/prism/commit/12af4e144e
|
|
Having the @newline instance variable in every node adds up, and
since it is so rarely used, we only want to add it when necessary.
Moving this into an autoloaded file and moving the instance variable
out of the default initializers reduces allocated memory because the
nodes are now smaller and some fit into the compact list. On my
machine, I'm seeing about an 8% drop.
https://github.com/ruby/prism/commit/eea92c07d2
|
|
https://github.com/ruby/prism/commit/15bf727881
|
|
Also remove RBS for currently ignored files. Will follow-up when those
check fully in later PRs.
https://github.com/ruby/prism/commit/2cae58f86d
|
|
https://github.com/ruby/prism/commit/5fda7a0760
|
|
https://github.com/ruby/prism/commit/0209d093ec
|
|
https://github.com/ruby/prism/commit/eabed9f4fd
|
|
https://github.com/ruby/prism/commit/4510e2746d
|
|
Also make them lazy to allocate the array, and also expose ParseResult#encoding.
https://github.com/ruby/prism/commit/08ec7683ae
|
|
https://github.com/ruby/prism/commit/ca9a660f52
|
|
|
|
|