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

Use same input if for policy if they have same tap and config #186

Merged
6 commits merged into from
Jan 24, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jan 21, 2022

- Only create Input Stream if the config and tap is different
- generate hash from Configurable data
- Add vector of policies that are using the input in InputStream
- InputStream name : tap + "-" + hash of input config

@ghost ghost requested a review from weyrick January 21, 2022 20:28
    - Only create Input Stream if the config and tap is different
    - generate hash from Configurable data
    - Add vector of policies that are using the input in InputStream
    - InputStream name : tap + "-" + hash of input config
@ghost ghost force-pushed the feature/efficient-use-taps branch from 7dc62d9 to 142f426 Compare January 21, 2022 20:28
src/Configurable.h Outdated Show resolved Hide resolved
src/Configurable.h Outdated Show resolved Hide resolved
src/InputStream.h Outdated Show resolved Hide resolved
src/Configurable.h Outdated Show resolved Hide resolved
src/Policies.cpp Show resolved Hide resolved
src/Policies.cpp Outdated Show resolved Hide resolved
src/Configurable.h Outdated Show resolved Hide resolved
@ghost ghost linked an issue Jan 24, 2022 that may be closed by this pull request
src/Policies.cpp Outdated Show resolved Hide resolved
src/Configurable.h Outdated Show resolved Hide resolved
src/Policies.cpp Outdated Show resolved Hide resolved
@ghost ghost merged commit 2da1810 into develop Jan 24, 2022
@ghost ghost deleted the feature/efficient-use-taps branch January 24, 2022 18:59
This pull request was closed.
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.

efficient use of taps (and their input streams) which have the same filter
1 participant