Optimize StatementContextBase layout
(YANGTOOLS-1253)
|
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Sub-task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
CopyHistory is a rather simple construct, recording 4 bits of information, for which are expending 4/8 bytes in every instance. Store all history information in a single byte, providing CopyHistory operations as a bit masking exercise. |