mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
They used to run the query twice: once for the actual result and once to set up the observe. Now it shares the work between the observe and the actual query. This required me to inline the _depend helper, but I actually think this made what's going on more direct and clear. Drop the _allow_unordered hack. I'm not convinced that it was ever truly valid; the observe code really doesn't support unordered observes with skip and limit, and I could not remember what it was about count's use that made it hypothetically safe. Easier to just remove the hack (until we maybe eventually actually fix #1643) Stop using Deps.Dependency in an unidiomatic way; just use Deps.currentComputation directly.