[SERVER-46494] Improve the performance of $function Created: 28/Feb/20 Updated: 29/Oct/23 Resolved: 13/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | James Wahlin | Assignee: | Eric Cox (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||
| Sprint: | Query 2020-03-09, Query 2020-03-23 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
One very local improvement we can make is memoizing the Scope::createFunction method. |
| Comments |
| Comment by Githook User [ 18/Sep/20 ] |
|
Author: {'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}Message: |
| Comment by Githook User [ 24/Mar/20 ] |
|
Author: {'email': 'eric.cox@mongodb.com', 'name': 'Eric Cox', 'username': 'ericox'}Message: (cherry picked from commit 16889524ede36d890f863b63447ba0af9d75013e) |
| Comment by Githook User [ 13/Mar/20 ] |
|
Author: {'username': 'ericox', 'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com'}Message: |