1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides/rails_guides
Yuki Nishijima f7ba69436a Speed up Levenshtein by 50% and reduce 97% of memory usage
Calculating -------------------------------------
             each_char   924.000  i/100ms
        each_codepoint     1.381k i/100ms
  -------------------------------------------------
             each_char      9.320k (¡Þ 5.1%) i/s -     47.124k
        each_codepoint     13.857k (¡Þ 3.6%) i/s -     70.431k

  Comparison:
        each_codepoint:    13857.4 i/s
             each_char:     9319.5 i/s - 1.49x slower

The full report can be found here:
  https://gist.github.com/yuki24/a80988f35aceac76f1d5
2015-04-11 15:28:23 -07:00
..
markdown - Changed IN to ON in markdown renderer condition 2015-01-14 11:52:13 +05:30
generator.rb Fix place of require 'rails_guides/markdown' 2015-03-07 16:50:27 +09:00
helpers.rb Guides: output valid HTML5 2014-05-05 17:42:04 -04:00
indexer.rb moves the guides up to the root directory 2012-03-17 08:32:49 -07:00
kindle.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
levenshtein.rb Speed up Levenshtein by 50% and reduce 97% of memory usage 2015-04-11 15:28:23 -07:00
markdown.rb Fix guide anchor generation logic. 2014-08-24 11:58:01 +08:00