-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added support for inactive threshold #20
Added support for inactive threshold #20
Conversation
Note: This still has the snapshot/ directory in the repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Right now you're doing a ~3n pass over the interaction events; I think you could technically do all of this in one pass.
In other words, while building the intervals, keep track of the state of the previous interval [active/inactive]. Based on the state of the current interval, append/don't-append. You can also probably selectively choose to keep inactive intervals based on that threshold in the same pass.
But this is fine lol, doesn't really matter. A few small naming things.
…anthony/hig-122-add-feature-to-modify-threshold-for
No description provided.