خرید بک لینک

Vote count: 0

I timed the the following two, and it appears that both of them take the same amount of time. Is there any benefit of using over the other?

(1 to 24).foldRight(List[Int]())((i, l) => l ::: generateList(signs, i))

vs.

(1 to 24).map(i => generateList(signs, i)).reduce(_ ::: _)

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 14 تير 1395 ساعت: 7:09

صفحه بندی