Age | Commit message (Collapse) | Author |
---|
| https://.com/ruby/prism/commit/12af4e144e |
| Fixes [Bug #21117] https://.com/ruby/prism/commit/19d4bab5a0 |
| https://.com/ruby/prism/commit/9f12a56fd6 |
| https://.com/ruby/prism/commit/21d314eb2e |
| 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://.com/ruby/prism/commit/eea92c07d2 |
| https://.com/ruby/prism/commit/15bf727881 |
| https://.com/ruby/prism/commit/17194e096d |
| For example, use `.fetch` or `.dig` instead of `[]`, and use `===` instead of `is_a?` for checking types of objects. https://.com/ruby/prism/commit/548b54915f |
| Also remove RBS for currently ignored files. Will follow-up when those check fully in later PRs. https://.com/ruby/prism/commit/2cae58f86d |
| https://.com/ruby/prism/commit/0209d093ec |
| https://.com/ruby/prism/commit/ca9a660f52 |
| |
| |