use element count in slices, not size in bytes
This allows the indexing bounds check or other comparisons against an element length to avoid a multiplication by the size.
Showing
想要评论请 注册 或 登录
This allows the indexing bounds check or other comparisons against an element length to avoid a multiplication by the size.