memory is pretty cheap these days. My father used to tell me about when they paid basically $1 PER BYTE of memory. Today, I can run into just about any store and buy a 4GB thumb drive for under $15 bucks. It's usually not something to worry about. even my cell phone has a 4GB chip in it.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
subject: Why non-recursive sorting algorithms are not popular?