twolfson / layout

Organize and layout items based on various algorithms
MIT License
113 stars 15 forks source link

Allow for algorithms to be an object which have an 'add' and 'export' method #1

Closed twolfson closed 11 years ago

twolfson commented 11 years ago

This will allow for lazy computation

twolfson commented 11 years ago

Even better would be to be pure lazy computation -- add can just accumulate items into an array. Unfortunately, the niceness of algorithms being item agnostic is lost.

twolfson commented 11 years ago

Said fuck you to item agnosticism since some algorithms optimize based on array length. This has been implemented in 1.1.0