aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorYuki Nishijima <mail@yukinishijima.net>2015-04-11 15:16:10 -0700
committerYuki Nishijima <mail@yukinishijima.net>2015-04-11 15:28:23 -0700
commitf7ba69436acc15da88a94b6af55076d3c7c912ca (patch)
treea8119ea8db346e09898b97c3cc01b112c8396eb5 /activerecord/README.rdoc
parent193297abc844da71cfc8f470c593c6c7dfd03af5 (diff)
downloadrails-f7ba69436acc15da88a94b6af55076d3c7c912ca.tar.gz
rails-f7ba69436acc15da88a94b6af55076d3c7c912ca.tar.bz2
rails-f7ba69436acc15da88a94b6af55076d3c7c912ca.zip
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
Diffstat (limited to 'activerecord/README.rdoc')
0 files changed, 0 insertions, 0 deletions