New submission from Henry Carscadden <hl...@virginia.edu>:
The product method in itertools provides an implementation of the Cartesian product that when run on with many arguments quickly gives out of memory errors. The current implementation creates a lot of unnecessary lists in this situation. A more appropriate implementation uses dynamic programming to avoid these out of memory issues. ---------- components: Distutils messages: 366005 nosy: Henry Carscadden, dstufft, eric.araujo priority: normal severity: normal status: open title: Itertools.product() Out of Memory Errors type: resource usage versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40230> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com