[JAVA-422] Memoize field locations (and other calculated data) for LazyBSONObject Created: 23/Aug/11 Updated: 19/Oct/16 Resolved: 24/Oct/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.7 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Brendan W. McAdams | Assignee: | Brendan W. McAdams |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
We tend to actually iterate the field set several times while looking for a particular field. It would make sense to memoize any data we find for later fetches. |
| Comments |
| Comment by auto [ 30/Aug/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message: |
| Comment by auto [ 29/Aug/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message: |
| Comment by auto [ 23/Aug/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message:
|
| Comment by auto [ 23/Aug/11 ] |
|
Author: {u'login': u'bwmcadams', u'name': u'Brendan W. McAdams', u'email': u'brendan@10gen.com'}Message:
|