Theseus
Theseus copied to clipboard
Use specialization to accelerate `MappedPages::as_slice[_mut]()` for byte slices
The implementation of MappedPages::as_slice::<u8>() can be specialized to always succeed (given our current assumption of all mappings be readable/PRESENT).
The implementation of MappedPages::as_slice_mut::<u8>() can be specialized to succeed as long as the underlying mapping is WRITABLE.
Blocked on the merging of dedicated MappedPagesMut/MappedPagesExec/etc types