honeynet / ochi

https://ochi.mushmush.org
GNU General Public License v3.0
25 stars 15 forks source link

Consider optimizing chevrotain DSL parsing logic on input change #49

Closed dkumiszhan closed 1 year ago

dkumiszhan commented 1 year ago

Currently we parse the event filter using chevrotain DSL definition when user types. When user clicks Apply, we parse the same filter again. We can do some optimization by persisting the result of filter parsing on input change and reusing it on pressing Apply button. Things to consider here is that persisted event might be out of date or invalid.

glaslos commented 1 year ago

Obsolete due to a misunderstanding on my side.