Optimise rechunk, resegment and resegmentPadded functions to minimise number of reallocations and byte copying.
The functions can be found in the HaskellWorks.Data.ByteString module.
Acceptance criteria:
- Benchmarks of old and new code and show that the new code runs faster.