Closed cemoktra closed 3 months ago
I would suggest replacing !assert with !debug_assert in those places, as the call to required_space has a huge impact on performance:
!assert
!debug_assert
required_space
that's true, we can rely on the bounds checking when writing to dst.
dst
I would suggest replacing
!assert
with!debug_assert
in those places, as the call torequired_space
has a huge impact on performance: