Replaces most use of &[u8] with the cheap Bytes to simplify the logic and reduce the number of necessary copies. This works quite well with mmap and http backends, which both use Bytes under the hood, resulting in zero-copy throughout the entire tile delivery code path.
Replaces most use of
&[u8]
with the cheapBytes
to simplify the logic and reduce the number of necessary copies. This works quite well with mmap and http backends, which both useBytes
under the hood, resulting in zero-copy throughout the entire tile delivery code path.Closes #5.