The H2 Wiki


scrap-your-lazy-lists

Scrap your lazy lists

Instead of lazy lists you probably want a streaming abstraction, such as

or a strict linear data structure, such as

Using lazy lists leads to bugs such as