> The flags you want are -O, -inline -release. > > If you don't have those, then that might explain some of the slow down > on slicing, since -release drops a ton of runtime checks. -noboundscheck option can also speed up things.