Skip to content

Conversation

@ChrisRackauckas
Copy link
Member

@ChrisRackauckas ChrisRackauckas commented Nov 14, 2019

Avoids extra searching by keeping a current index and checking the current value before doing a full search. Maybe it's best to not do the neighbors either, and just do the current, but I went ahead and did the neighbors for now. Everything is ifelse since the computations are cheap, I assume that might be faster but haven't fully tested the speed yet.

The purpose of ifelse is to do the function calls before branching to speed up quick branches. However... I put the search in the ifelse calls
@ChrisRackauckas
Copy link
Member Author

@YingboMa might have ideas here as well.

@ChrisRackauckas
Copy link
Member Author

Improved and finished in #147

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

Successfully merging this pull request may close these issues.

2 participants