At a glance it doesn't seem as though the library is mutating the arrays at all. It would be safer to use `readonly T[]` than `T[]`.