Re:Things Developers Should Know About SQL Server (2013)
by twic on Sunday February 12, 2017 @09:22AM
(#13628410)
Depends on the sort. A naively implemented mergesort needs a temporary array of the same size as the the array being sorted. But whilst that takes up a chunk of memory for a while, it shouldn't be the sort of thing that makes GC choke.
And anyway, not many people will be using a naively implemented mergesort in this situation!
And anyway, not many people will be using a naively implemented mergesort in this situation!