Reduces memory used by generator indices. Follow up to #19
Before the patch:
After the patch:
This makes sequence generation lazy, hence we don't waste memory if it is unnecessary.
This change makes PropEr use memory rationally by not passing the ent…
…ire tree with Funs' envs up through the chain
Saves memory used by PropEr generators by creating indices lazily
Just a quick question: Is this pull request independent of #19 or it needs to be merged with it?
(I mean, can spawngrid/proper@7859a50 be merged on its own?)
As it is, it is not independent. However the same problem exists in vanilla PropEr (just in a slightly different and less obvious form). However, since as you know I really want to get #19 merged in, I see no point in providing two patches for the same problem. I'd rather have it merged with #19 (besides, this pullreq contains the commit from #19 anyway)
Merged the equivalent #35