manopapad/proper — pull request #35 by thomasc (2012-04-18 09:41:25+00:00)
Title: Reduce PropEr's memory consumption

Although R15B01 performs much better memory wise as mentioned by @kostis in #30, there are still problems particularly with vectors and unions.

One easy way to trigger them is to use proper_stdgen:email() from [proper_stdlib](https://github.com/spawngrid/proper_stdlib). With R15B01 and PropEr's current master this exhausts all available memory. The problem can be narrowed further down to proper_stdgen:email_local_part().
With this branch the problem doesn't trigger.

This patch replaces the ones in #19 and #31 using the same approach but a slightly different implementation to keep dialyzer happy.