mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
optimization of scripting idioms - min/max, has-elements
This commit is contained in:
parent
e38053ee3c
commit
5445e8c7ff
5 changed files with 194 additions and 8 deletions
|
@ -883,6 +883,9 @@ public:
|
|||
protected:
|
||||
void ExprDescribe(ODesc* d) const override;
|
||||
|
||||
bool IsMinOrMax(Reducer* c) const;
|
||||
ExprPtr TransformToMinOrMax() const;
|
||||
|
||||
ExprPtr op1;
|
||||
ExprPtr op2;
|
||||
ExprPtr op3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue