real 0m3.76s # 49 times faster than method 1 user 0m0.42s sys 0m0.95s