<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/ruby/location_test.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/prism] Prism::CodeUnitsCache</title>
<updated>2024-10-10T18:02:27+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-10-09T18:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7a198af7cdb437c5245ac3ab70cb66cef2002d06'/>
<id>7a198af7cdb437c5245ac3ab70cb66cef2002d06</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Attempt to assume binary is UTF-8</title>
<updated>2024-10-09T15:42:23+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-10-09T14:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e39e582594feaeb40722b2921e8feb562d94269b'/>
<id>e39e582594feaeb40722b2921e8feb562d94269b</id>
<content type='text'>
https://github.com/ruby/prism/commit/343197e4ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/343197e4ff
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Avoid breaking code units offset on binary encoding</title>
<updated>2024-10-09T14:07:10+00:00</updated>
<author>
<name>Vinicius Stock</name>
<email>vinicius.stock@shopify.com</email>
</author>
<published>2024-10-08T14:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e50754fcfaeb80bef93f043c13895ce386ddb18c'/>
<id>e50754fcfaeb80bef93f043c13895ce386ddb18c</id>
<content type='text'>
https://github.com/ruby/prism/commit/25a4cf6794

Co-authored-by: Kevin Newton &lt;kddnewton@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/25a4cf6794

Co-authored-by: Kevin Newton &lt;kddnewton@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Tests overhaul</title>
<updated>2024-05-30T19:18:20+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2024-05-29T14:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=72452f43871b8034bfa718ed823bc62b5b81d6f9'/>
<id>72452f43871b8034bfa718ed823bc62b5b81d6f9</id>
<content type='text'>
https://github.com/ruby/prism/commit/6f886be0a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/6f886be0a4
</pre>
</div>
</content>
</entry>
</feed>
