Sha256: ac74c603ae432f52d18ac5265f0597201353d4f347b59c86b4561ee66d8ba551

Contents?: true

Size: 1.86 KB

Versions: 2

Compression:

Stored size: 1.86 KB

Contents

lib/antelope/ace/grammar/precedences.rb
Array#select.first is slower than Array#detect. Occured at lines: 31, 35.
Using each_with_index is slower than while loop. Occured at lines: 51.

lib/antelope/ace/grammar/productions.rb
Using each_with_index is slower than while loop. Occured at lines: 71, 106.

lib/antelope/ace/grammar/symbols.rb
Hash#fetch with second argument is slower than Hash#fetch with block. Occured at lines: 17.

lib/antelope/generation/constructor/first.rb
Using each_with_index is slower than while loop. Occured at lines: 63.

lib/antelope/generation/constructor/follow.rb
Using each_with_index is slower than while loop. Occured at lines: 78.

lib/antelope/generation/constructor.rb
Using each_with_index is slower than while loop. Occured at lines: 71.

lib/antelope/generation/recognizer/rule.rb
Parallel assignment is slower than sequential assignment. Occured at lines: 77.
Using each_with_index is slower than while loop. Occured at lines: 178.

lib/antelope/generation/recognizer/state.rb
Using each_with_index is slower than while loop. Occured at lines: 123.

lib/antelope/generation/recognizer.rb
Using each_with_index is slower than while loop. Occured at lines: 138.

lib/antelope/generation/tableizer.rb
Using each_with_index is slower than while loop. Occured at lines: 90, 138.
Parallel assignment is slower than sequential assignment. Occured at lines: 99.

lib/antelope/generator/base.rb
Using each_with_index is slower than while loop. Occured at lines: 124.

lib/antelope/generator/c_header.rb
Using each_with_index is slower than while loop. Occured at lines: 91.

lib/antelope/template/compiler.rb
Don't rescue NoMethodError, rather check with respond_to?. Occured at lines: 40.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
antelope-0.4.1 optimizations.txt
antelope-0.4.0 optimizations.txt