Store the slice length instead of calculating it every time.  No real performance difference, but it's silly to do it.