[Groonga-commit] groonga/groonga at dba5346 [master] expr optimize: add support for bitwise not

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Mar 4 14:03:37 JST 2019


Kouhei Sutou	2019-03-04 14:03:37 +0900 (Mon, 04 Mar 2019)

  Revision: dba53466a9918df361738e25e6112ca41467c832
  https://github.com/groonga/groonga/commit/dba53466a9918df361738e25e6112ca41467c832

  Message:
    expr optimize: add support for bitwise not

  Modified files:
    lib/mrb/scripts/expression_tree_builder.rb

  Modified: lib/mrb/scripts/expression_tree_builder.rb (+1 -1)
===================================================================
--- lib/mrb/scripts/expression_tree_builder.rb    2019-03-04 13:07:45 +0900 (5f9ecc326)
+++ lib/mrb/scripts/expression_tree_builder.rb    2019-03-04 14:03:37 +0900 (d5f6ea01c)
@@ -28,7 +28,6 @@ module Groonga
       Operator::BITWISE_OR,
       Operator::BITWISE_XOR,
       Operator::BITWISE_AND,
-      Operator::BITWISE_NOT,
       Operator::SHIFTL,
       Operator::SHIFTR,
       Operator::SHIFTRR,
@@ -47,6 +46,7 @@ module Groonga
 
     UNARY_OPERATIONS = [
       Operator::NOT,
+      Operator::BITWISE_NOT,
     ]
 
     def initialize(expression)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190304/233ff914/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index