From: Richard Fairhurst Date: Tue, 20 Oct 2009 22:14:32 +0000 (+0000) Subject: Move render :text to write out each result as it's received, rather than assembling... X-Git-Tag: live~7578 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/dd9999dc438a5778a74f4ef966f0fdc06b83cb4c?ds=sidebyside;hp=dd9999dc438a5778a74f4ef966f0fdc06b83cb4c 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 ---