mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Merge branch 'topic/bloomfilter-performance-boost' of https://github.com/bro/bro
* 'topic/bloomfilter-performance-boost' of https://github.com/bro/bro: Remove unnessary check
This commit is contained in:
commit
e3612960ee
3 changed files with 5 additions and 4 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
2.6-beta2-82 | 2018-11-08 09:38:52 -0600
|
||||||
|
|
||||||
|
* Remove unnecessary Bloom filter empty check (Matthias Vallentin)
|
||||||
|
|
||||||
2.6-beta2-80 | 2018-11-07 11:46:34 -0600
|
2.6-beta2-80 | 2018-11-07 11:46:34 -0600
|
||||||
|
|
||||||
* Support appending to vector of any (Jon Siwek, Corelight)
|
* Support appending to vector of any (Jon Siwek, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.6-beta2-80
|
2.6-beta2-82
|
||||||
|
|
|
@ -173,9 +173,6 @@ function bloomfilter_lookup%(bf: opaque of bloomfilter, x: any%): count
|
||||||
%{
|
%{
|
||||||
const BloomFilterVal* bfv = static_cast<const BloomFilterVal*>(bf);
|
const BloomFilterVal* bfv = static_cast<const BloomFilterVal*>(bf);
|
||||||
|
|
||||||
if ( bfv->Empty() )
|
|
||||||
return new Val(0, TYPE_COUNT);
|
|
||||||
|
|
||||||
if ( ! bfv->Type() )
|
if ( ! bfv->Type() )
|
||||||
reporter->Error("cannot perform lookup on untyped Bloom filter");
|
reporter->Error("cannot perform lookup on untyped Bloom filter");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue