On Tue, Dec 6, 2016 at 10:56 PM, BartC <b...@freeuk.com> wrote: > In that directory (which was on Windows but accessible via a virtual Linux), > typing any Linux command followed by * would have required all 3.4 million > directory entries to be accessed in order to build a 3.4 million-element > argv list. I've no idea how long that would have taken.
I just asked Python to build me a 4-million-element list, and it took no visible time - a small fraction of a second. Don't be afraid of large argument lists. We're not writing 8088 Assembly Language programs in 64KB of working memory here. ChrisA -- https://mail.python.org/mailman/listinfo/python-list