-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
Separate from MDSAL-743, which defines the headline term, let's improve how we storage the individual bits. With MDSAL-744 we promise to provide a boolean value. Most of the bits we encounter have a very limited number of possible bits, let's say there are three classes:
- up to 32 bits, which should use an 'int' for storage
- up to 64 bits, which should use a 'long' for storage
- more than 64 bits, which should use an int[] for storage]
Specialize codegen to recognize these three classes and store the set bits in the appropriate storage class, providing the required methods on bit operations. This will drop storage requirements (when compared to MDSAL-743) by additional factor of 8, providing a 32x/64x improvement when compared to current Boolean storage.
- is blocked by
-
MDSAL-744 Map bits type to primitive boolean
- Resolved
-
MDSAL-764 Refactor binding-model-api
- Confirmed
- relates to
-
YANGTOOLS-1426 Consider bits type storage
- Confirmed