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

Add support to skip forward when decoding IR streams #41

Closed
wants to merge 4 commits into from

Conversation

LinZhihao-723
Copy link
Member

Description

Currently, the decoder doesn't support skipping forward. Users have to decode and discard log events when needed manually. This PR enables forward skipping by introducing a new method to decode and discard a certain amount of log events from the given IR stream.
This PR also refactors the implementation of the decoding method to template the termination of a decoding process. This provides a function interface to reuse decoding logic and implement query search decoding, sequential decoding, and forward skipping.

Validation performed

  1. Add new unit tests to verify the behavior of forward skipping.
  2. Ensure all existing unit tests are passed after refactoring the decoding method.

@kirkrodrigues
Copy link
Member

Remind me, what was the conclusion we reached for this PR?

@LinZhihao-723
Copy link
Member Author

This PR should be no longer needed, as it's functionality should be handled by the query in nature

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