Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
Description
$where should be optimized since it runs on every single record.
Things that can speed up:
- use read-only js object
- dont set 'obj', ppl can use 'this'. Dont see mention of 'obj' in our doc.
- dont set 'fullObject', looks like old legacy?