Computationally efficient univariate filtering for massive data