Commit 3d4c7c3
[ruby/prism] Use
Avoids an array allocation which matters more and more
the larger the file is.
I have it at 14% of runtime.
ruby/prism@f65b90f27dreverse_each in the parser translator1 parent 67e6ccb commit 3d4c7c3
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
266 | 267 | | |
267 | | - | |
| 268 | + | |
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| |||
0 commit comments