summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_table_of_contents.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2026-01-26 21:36:20 -0500
committerKevin Newton <kddnewton@gmail.com>2026-01-27 15:30:45 -0500
commitaf4a1ca021845837fd7bfb1e1b4b5abd7e336c34 (patch)
tree08d5929c5c3239b9e742c8b5906f8964949a6ff2 /lib/rdoc/markup/to_table_of_contents.rb
parentec154654a99c07d065108e9c31793eb9ccbd9ad0 (diff)
Use slices instead of locationsHEADmaster
In the C API, we want to use slices instead of locations in the AST. In this case a "slice" is effectively the same thing as the location, expect it is represented using a 32-bit offset and a 32-bit length. This will cut down on half of the space of all of the locations in the AST. Note that from the Ruby/Java/JavaScript side, this is effectively an invisible change. This only impacts the C/Rust side.
Diffstat (limited to 'lib/rdoc/markup/to_table_of_contents.rb')
0 files changed, 0 insertions, 0 deletions