diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-09-26 18:05:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-09-26 18:07:52 +0200 |
commit | 7f919334902d8c8d0064a8c1792ad1629555952a (patch) | |
tree | 4e89589a564cdeca88b79bb83e046028dd80f36a /.travis.yml | |
parent | 874fcc34d50d6d69e30cc3ce6ef14e617354fe4c (diff) |
Make Iter auto-calculating, eliminate CalculatingIter
It turns out that using a cheap iterator which only wraps objects makes
the stack overflow with a very basic query:
today()
.yearly(1)
.unwrap()
.every(::indicator::Day::Monday)
.every(::indicator::Month::January)
.collect::<Vec<_>>()
So here we cgo and optimize the Iter type to automatically calculate all
the things right away. This makes it a bit more expensive to call, of
course, but is better than overflowing.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions