Sha256: 96d363512b8fb883cd2bb72e8e6dcb5ba31330ec651602f7a165a059824154aa

Contents?: true

Size: 1.9 KB

Versions: 5

Compression:

Stored size: 1.9 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

5 entries across 5 versions & 1 rubygems

Version Path
antelope-0.3.2 optimizations.txt
antelope-0.3.0 optimizations.txt
antelope-0.2.4 optimizations.txt
antelope-0.2.3 optimizations.txt
antelope-0.2.2 optimizations.txt