cloudflare / wirefilter

An execution engine for Wireshark-like filters
https://blog.cloudflare.com/building-fast-interpreters-in-rust/
MIT License
958 stars 85 forks source link

Filter and ExecutionContext do not need the same lifetime #67

Open sbohrer opened 4 years ago

sbohrer commented 4 years ago

There is no reason these need the same lifetime, and requiring the same lifetime makes some things impossible like having a Filter with a 'static lifetime and trying to execute against an ExecutionContext that was built with dynamic Strings.