Skip to content

Made the code generic over numbers of integers

Currently, sets of tensors are stored as u64 and sets of edges as u128. It's probably a good idea to generalize this using const generics such that sets of tensors will be [u64; N], and sets of edges [u64; M]. In this way, we will be able to provide a function which uses just the right variant depending on the size of the input. This will only require instantiating a few variants, e.g. (N, M) = (1, 1), (1, 2), (2, 4), and perhaps (4, 8).