Rule performance fixes #78

Merged
merged 7 commits into from May 21, 2017

Conversation

Projects
None yet
2 participants
Collaborator

adisbladis commented May 21, 2017

The commit messages speaks for themselves :)

adisbladis added some commits May 21, 2017

@adisbladis adisbladis Split ui into separate subpackage
Move LinuxDesktopParser into ui subpackage, it does not belong in the
Opensnitch core
302992c
@adisbladis adisbladis Improve code styling and performance in proc.py
Previously was O(N), now only O(N) in worst case
f19ce5c
@adisbladis adisbladis Convert Rule into namedtuple with RuleSaveOption and RuleVerdict enums
This decreases memory usage because of Python using a shared
dictionary for all instances of Rule
7ac6d21
@adisbladis adisbladis Only iterate over rules where app_path is matching befff27

adisbladis changed the title from Ruleperf to Rule performance fixes May 21, 2017

added some commits May 21, 2017

@evilsocket Merge pull request #76 from adisbladis/uisplit-pre
Split ui into separate subpackage
8fe9a62
@evilsocket Merge pull request #77 from adisbladis/codestyle-fixes
Improve code styling and performance in proc.py
e56b50c
Owner

evilsocket commented May 21, 2017

conflicts ...

@adisbladis adisbladis Merge branch 'ruleperf' 588eb76

evilsocket merged commit eb3f96c into evilsocket:master May 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment