-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.4.0-rc2
-
Component/s: JavaScript
-
None
-
Fully Compatible
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
There is currently a lot of duplicated code in mongoToV8(), mongoToLZV8() and mongoToV8Element(). We should unify this code.
It may also be worth implementing a more efficient lazy loading technique (e.g. use eager loading if the object is small enough or has been accessed some number of times).