What is more memory efficient? How much different does it make?
Properties properties = getProperties();
doSomethingWithProperties(properties);
or
doSomethingWithProperties(getProperties());
I have learned that the last one is more memory efficient. But I can't find any documentation on it.
I'm using java 8