When we have two lists a and b, how can one concatenate those two (order is not relevant) to a new list in an efficient way ?
I could not figure out from the Scala API, if a ::: b and a ++ b are efficient. Maybe I missed something.
When we have two lists a and b, how can one concatenate those two (order is not relevant) to a new list in an efficient way ?
I could not figure out from the Scala API, if a ::: b and a ++ b are efficient. Maybe I missed something.