Optimize StatementContextBase layout (YANGTOOLS-1253)

[YANGTOOLS-1255] Inline CopyHistory storage Created: 18/Feb/21  Updated: 18/Feb/21  Resolved: 18/Feb/21

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.


Generated at Wed Feb 07 20:55:37 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.