orangy
adam-mcneilly
12/05/2017, 3:48 AMlist.map { it * 2 }
and list.asSequence().map { it * 2 }.toList()
? Also accepting links to posts/youtube videos that explain it if it's a rabbit hole.elect
12/05/2017, 3:33 PM(void)debugDraw;
in the following?
void SphereTriangleDetector::getClosestPoints(const ClosestPointInput& input,Result& output,class btIDebugDraw* debugDraw,bool swapResults)
{
(void)debugDraw;
....
}
thomasnield
12/05/2017, 4:06 PMthomasnield
12/07/2017, 2:27 PMea
12/07/2017, 9:21 PMkarelpeeters
12/07/2017, 9:40 PMrellenberger
12/07/2017, 9:43 PMkevinmost
12/07/2017, 10:27 PMumar
12/09/2017, 4:16 AMkarelpeeters
12/11/2017, 10:22 AMcedric
12/12/2017, 4:51 AMelect
12/12/2017, 10:06 AMkarelpeeters
12/12/2017, 10:10 AMlist.windowed(w).map { it.sum() }.max()
pniederw
12/15/2017, 9:55 AMnapperley
12/18/2017, 10:37 PMkevinmost
12/18/2017, 10:39 PMlex
12/20/2017, 9:20 AMvoddan
12/20/2017, 5:11 PMasSequence()
when applying several collection operations like map
or filter
one after another? I was wondering how big the performance win is for those cases.
Could you please throw at me some realistic-ish examples of ⛓️ chained collection transformations so I could measure them for a project? 🔬lifk
12/22/2017, 7:10 PMsindrenm
12/22/2017, 8:00 PMziggy42
12/26/2017, 7:59 PMelect
12/27/2017, 12:11 PMwnc_21
12/28/2017, 2:19 PMdanneu
01/03/2018, 3:18 PMkarelpeeters
01/04/2018, 12:01 AMval Any?.sout get() = println(this)
"hey".sout
5.sout
null.sout
roberto.guerra
01/04/2018, 3:01 AMPawel Urban
01/04/2018, 1:33 PMcedric
01/07/2018, 5:42 PMcedric
01/07/2018, 5:43 PM