Move render :text to write out each result as it's received, rather than assembling...
authorRichard Fairhurst <richard@systemed.net>
Tue, 20 Oct 2009 22:14:32 +0000 (22:14 +0000)
committerRichard Fairhurst <richard@systemed.net>
Tue, 20 Oct 2009 22:14:32 +0000 (22:14 +0000)
commitdd9999dc438a5778a74f4ef966f0fdc06b83cb4c
treeeec2cb6741767098590ca3403087daa3d3fa8274
parenta6b2c30bfc711c555bffa76746ebf8140bd7c38c
Move render :text to write out each result as it's received, rather than assembling them into a big array and writing this at the end. Theoretically this should permit streaming, but Rails appears not to be that clever. Nonetheless it reduces memory usage when assembling a big bunch of getways and that has to be worthwhile
app/controllers/amf_controller.rb