Details
Description
YANG 'bits' type is currently mapped to a Set<String>. This has pros (like model-independence) and cons (storage overhead).
Assuming schema-informedness, we should be able to provide a Set which is backed by an int (or a long, or a byte[]) plus a offset-to-name mapping. This would lower our storage requirements in places where we can assume such a mapping.
Attachments
Issue Links
- relates to
-
MDSAL-746 Improve BitsTypeObject storage
-
- Confirmed
-
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 102901,21 | Obsolete: Bits to hex string codec implementation | master | yangtools | Status: NEW | 0 | -1 |
| 103029,5 | Obsolete: Adjust bits codec to recognize 3 storage classes | master | mdsal | Status: NEW | 0 | -1 |
| 103058,6 | Obsolete: Finalize bits codec implementation replacement | master | yangtools | Status: NEW | 0 | +1 |
| 103659,10 | Introduce dedicated Bits type | master | yangtools | Status: NEW | 0 | +1 |