INADA Naoki <songofaca...@gmail.com> added the comment: @Luis, would you try dict instead of set? It's little larger than set, but delete elements by insertion order.
But I don't think builtin data structure can be optimized for such workload. Maybe, LMBD or some other KVS can help you. : https://lmdb.readthedocs.io/en/release/ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com