"Would the libs team accept a..." <- > <@gnomeddev:matrix.org> Would the libs team accept a PR that made `heapless::Vec` generic over the length type used? For the extreme example of a `Vec` on a 64 bit system it would balloon to `(2 * 1) + size_of` which is `2` bytes of data and `8` bytes of length type. > > This could be smoothed by implementing a default length value for common values of `N`, with some macro generated trait implementations and would only really affect users using weirdly high `N` values or generic libraries which would only need to add a concrete or generic value of `LenT`. There's sort of precedence for this. Heapless MPMC has a `mpmc_large` feature. By default is uses `u8` sizes and with the feature on it uses `usize`.