We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d336b9 commit 716e606Copy full SHA for 716e606
ruby/lib/interscript/interpreter.rb
@@ -42,9 +42,9 @@ def execute_rule r
42
tree = Interscript::Stdlib.parallel_replace_compile_tree(subs_array) #.sort_by{|k,v| -k.length})
43
@str = Interscript::Stdlib.parallel_replace_tree(@str, tree)
44
r.cached_tree = tree
45
- $using_tree = true
+ # $using_tree = true
46
rescue
47
- $using_tree = false
+ # $using_tree = false
48
# Otherwise let's build a megaregexp
49
subs_array = []
50
Interscript::Stdlib.deterministic_sort_by_max_length(r.children).each do |i| # rule.from.max_length gives somewhat better test results, why is that
0 commit comments