Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore potential redesign of interpolators #78

Open
nwolek opened this issue Jan 1, 2016 · 0 comments
Open

Explore potential redesign of interpolators #78

nwolek opened this issue Jan 1, 2016 · 0 comments

Comments

@nwolek
Copy link
Member

nwolek commented Jan 1, 2016

Quoting from @tap during discussion of this pull request:

I don't know if this is a great idea or a terrible one, but I'm imagining something where we pass C++ iterators as the arguments. By doing this all functions would look something like this pseudo-code:

constexpr T operator()(double delta, std::vector<T>::const_iterator begin, std::vector<T>::const_iterator end) noexcept {
    // so we have a range within a vector now between begin and end
    // that might be 2 samples or 4 or 8, etc...
    // but we should be able figure that out and do the right thing...
}

I'm not sure if this would solve all our ills or just create new ones, but it make sense to explore this further.

@nwolek nwolek mentioned this issue Jan 1, 2016
@tap tap modified the milestone: Interpolation Sprint Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants