pub fn batch_encode<T: AbiEncoding + Ord>(mut batch: Vec<Vec<T>>) -> Vec<yul::Statement> {
    batch.sort();
    batch.dedup();

    batch.into_iter().map(encode).collect()
}
/// Creates a batch of encoding function for the given type arrays.
///
/// It sorts the functions and removes duplicates.
Creates a batch of encoding function for the given type arrays.
It sorts the functions and removes duplicates.
Creates a batch of encoding function for the given type arrays . It sorts the functions and removes duplicates .
pub fn batch_encode<T: AbiEncoding + Ord>(mut batch: Vec<Vec<T>>) -> Vec<yul::Statement> {
    batch.sort();
    batch.dedup();
    batch.into_iter().map(encode).collect()
}
pub fn batch_encode < T : AbiEncoding + Ord > ( mut batch : Vec < Vec < T > > ) -> Vec < yul :: Statement > { batch . sort ( ) ; batch . dedup ( ) ; batch . into_iter ( ) . map ( encode ) . collect ( ) }
Creates a batch of encoding function for the given type arrays.
Creates a batch of encoding function for the given type arrays .
batch
Vec<Vec<T>>
batch
Vec<Vec<T>>