Igalia / pflua

Packet filtering in Lua
Other
313 stars 39 forks source link

Improve optimizer performance #218

Closed mpeterv closed 9 years ago

mpeterv commented 9 years ago

Remove unnecessary allocations in cfkey calculation. On my machine compiling the 8k pflang from #216 becomes 30% faster (2 seconds -> 1.3 seconds), and total allocated memory goes down by 60% (1100 Mbytes -> 300 Mbytes).

kbara commented 9 years ago

LGTM, thank you!