[MDSAL-92] NodeCodecContext implementation should improve sizing hints based on schema context Created: 12/Jun/15 Updated: 16/Mar/19 |
|
| Status: | Confirmed |
| Project: | mdsal |
| Component/s: | Binding runtime |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
For situations where StreamWriterGenerator cannot emit a sizing hint based on actual data, NodeCodecContext can derive a sizing hint from the SchemaContext – at the very least, it can emit an accurate prediction for containers where all leaves are mandatory. Analyze what sizing hints can be derived when and implement them. |