Anti-weakpasswords/python-pbkdf2 — pull request #1 by Anti-weakpasswords (2014-02-28 06:33:18+00:00)
Title: fix high-iteration stack overflow by flattening the list - by Warner

The core loop had too many generators: chaining them together results in high stack usage (and reduced speed) when called with a high number of iterations. At roughly 88000 iterations, python segfaults.

Removing those extra stack frames also appears to speed up the loop by about 5%

This fixes #2.