Element can take up more than half of slab size because encoding overhead, such as digest, is not accounted for in MaxInlineElementSize and maxInlineMapElementSize.
This caused a problem reported in issue #193 and resolved in PR #194 for an edge case in NewMapFromBatchData.
Problem
Element can take up more than half of slab size because encoding overhead, such as digest, is not accounted for in
MaxInlineElementSize
andmaxInlineMapElementSize
.This caused a problem reported in issue #193 and resolved in PR #194 for an edge case in
NewMapFromBatchData
.