Theseus icon indicating copy to clipboard operation
Theseus copied to clipboard

Use specialization to accelerate `MappedPages::as_slice[_mut]()` for byte slices

Open kevinaboos opened this issue 3 years ago • 1 comments

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.

kevinaboos avatar Aug 04 '22 19:08 kevinaboos

Blocked on the merging of dedicated MappedPagesMut/MappedPagesExec/etc types

kevinaboos avatar Oct 07 '22 18:10 kevinaboos