aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors/reduce.rb
Commit message (Collapse)AuthorAgeFilesLines
* move the dispatch table to be per-instanceAaron Patterson2014-09-221-4/+4
| | | | | | | visitors are not shared among threads, so any mutations to the cache should be OK. The cache is also pre-populated on construction, but we should pull that out so we can share the cache among visitors in the future.
* push reduction visitors to a reduction base classAaron Patterson2014-04-081-0/+25
this lets our old depth first and dot visitors to work normally