cygnus
09/01/2018, 2:40 AMval xDest = xPixel
val yDest = yPixel
xLambda = { xDest }
yLambda = { yDest }
If xPixel and yPixel are both Ints and fields of a class, does the class stay in memory if the only thing remaining are the x and y lambdas? I'm pretty sure this is true if there is no intermediate variable like x or y dest, but not sure about with one