Switched some assays(x) to assays(x, withDimnames = FALSE), which is much faster for reasons I don't yet understand. Still need to investigate safety of this in other circumstances.