[][src]Function psacak::psacak_inplace

pub fn psacak_inplace(text: &[u8], suf: &mut [u32])

In-place version of the pSACAK suffix sorting algorithm.

If any of the following conditions is met, it would panic:

  • The length of text has exceeded the limitation of 32-bit integer.
  • The length of text is greater than the length of suffix array.
  • Memory layout of the suffix array slice is not aligned.