[YANGTOOLS-759] yang-data-codec-gson: fix JSONCodecFactory caching Created: 15/Mar/17 Updated: 10/Apr/22 Resolved: 11/Apr/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| External issue ID: | 7996 | ||||||||||||
| Description |
|
JSONCodecFactory as it is currently implemented suffers from couple of performance flaws, some of which come from how it is used by downstream, some from internal specifics. Split the implementation into multiple classes based on their space/time trade-offs, so users can choose a factory for their use case. Also fix the performance woes in the default (shared+lazy) implementation. |
| Comments |
| Comment by Robert Varga [ 24/Mar/17 ] |
|
master: https://git.opendaylight.org/gerrit/53620 |