ilya.gorbunov
11/03/2015, 2:42 PMmikehearn
11/03/2015, 2:42 PMmikehearn
11/03/2015, 2:42 PMmikehearn
11/03/2015, 2:43 PMorangy
orangy
fun check(inputs: Set<String>, outputs: Set<String>, link: String.() -> Set<String>): Boolean = inputs.flatMapTo(hashSetOf(),link) == outputs
mikehearn
11/03/2015, 2:48 PMmikehearn
11/03/2015, 2:48 PMmikehearn
11/03/2015, 5:21 PMmplatvoet
11/03/2015, 5:29 PMmikehearn
11/03/2015, 5:30 PMmplatvoet
11/03/2015, 5:30 PMmplatvoet
11/03/2015, 5:31 PMmikehearn
11/03/2015, 5:32 PMmplatvoet
11/03/2015, 5:34 PMorangy
list[0:1]
) by not using :
in important places. So we will probably not add some intermediate functions to stdlib as they live forever.mikehearn
11/03/2015, 5:55 PMmplatvoet
11/03/2015, 5:56 PMevanchooly
11/03/2015, 7:00 PMvoddan
11/03/2015, 7:24 PMlist[a:b]
just to skip an object allocation? Wow
Can't it be solved by parameter inlining
for inline
functions? Or is that it?voddan
11/03/2015, 7:25 PMmapOf(1 to 2)
. Will 1:2
syntax solve that?orangy
Eugenio
11/03/2015, 8:56 PMjkwatson
11/09/2015, 4:30 AMplusIfAbsent
on immutable Maps.kirillrakhman
11/19/2015, 12:56 PMmeasureTimeMillis
is not inlined?ilya.gorbunov
11/19/2015, 1:43 PMdamian
11/19/2015, 2:42 PMin
-check, are already inlineddamian
11/19/2015, 2:42 PM1 in 0..n
is already inlineddamian
11/19/2015, 3:19 PMSystem.arraycopy
?ilya.gorbunov
11/19/2015, 3:24 PM