aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_help.rb
diff options
context:
space:
mode:
authorJack Danger Canty <jackdanger@squareup.com>2014-08-03 15:23:56 -0700
committerJack Danger Canty <jackdanger@squareup.com>2014-08-03 15:23:56 -0700
commit0b8f35dd9ca6d1ae72e6021e64688e2d88b84537 (patch)
tree770aaf14c785e030a363c48e1ee69159144004b0 /railties/lib/rails/test_help.rb
parentcadc8a0dfce85a10fecb3c366f8d847c189c36da (diff)
downloadrails-0b8f35dd9ca6d1ae72e6021e64688e2d88b84537.tar.gz
rails-0b8f35dd9ca6d1ae72e6021e64688e2d88b84537.tar.bz2
rails-0b8f35dd9ca6d1ae72e6021e64688e2d88b84537.zip
Using no_result_var in Journey's parser generator
Previously the generated parser had an intermediate local variable `result` that really useful if you're building up a stateful object but Journey always discards the result argument to the reduce functions. This produces a simpler parser for anybody who actually wants to read the thing. Sadly, there's no real performance speedup with this change.
Diffstat (limited to 'railties/lib/rails/test_help.rb')
0 files changed, 0 insertions, 0 deletions