title: How to efficiently delete all elements from ListBuffer in Scala?
body: <p>I have a ListBuffer with thousand elements. After program has done  calculations I want to fill it with new data. Is there a way like in C with free() to empty it? Or is it a good way to assign null to my ListBuffer and garbage collector will do all the work?</p>