diff options
author | Jack Danger Canty <jackdanger@squareup.com> | 2014-08-03 15:23:56 -0700 |
---|---|---|
committer | Jack Danger Canty <jackdanger@squareup.com> | 2014-08-03 15:23:56 -0700 |
commit | 0b8f35dd9ca6d1ae72e6021e64688e2d88b84537 (patch) | |
tree | 770aaf14c785e030a363c48e1ee69159144004b0 /railties/lib/rails/generators/testing | |
parent | cadc8a0dfce85a10fecb3c366f8d847c189c36da (diff) | |
download | rails-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/generators/testing')
0 files changed, 0 insertions, 0 deletions