| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-10-10 | [ruby/prism] Prism::CodeUnitsCache | Kevin Newton | |
| Calculating code unit offsets for a source can be very expensive, especially when the source is large. This commit introduces a new class that wraps the source and desired encoding into a cache that reuses pre-computed offsets. It performs quite a bit better. There are still some problems with this approach, namely character boundaries and the fact that the cache is unbounded, but both of these may be addressed in subsequent commits. https://github.com/ruby/prism/commit/2e3e1a4d4d | |||
| 2024-10-09 | [ruby/prism] Attempt to assume binary is UTF-8 | Kevin Newton | |
| https://github.com/ruby/prism/commit/343197e4ff | |||
| 2024-10-09 | [ruby/prism] Avoid breaking code units offset on binary encoding | Vinicius Stock | |
| https://github.com/ruby/prism/commit/25a4cf6794 Co-authored-by: Kevin Newton <kddnewton@users.noreply.github.com> | |||
| 2024-05-30 | [ruby/prism] Tests overhaul | Kevin Newton | |
| https://github.com/ruby/prism/commit/6f886be0a4 | |||
