Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/gems/gems/did_you_mean-1.1.0/benchmark/levenshtein/speed.rb
Arrière
require 'benchmark/ips' require 'did_you_mean' require 'did_you_mean/levenshtein' STR1, STR2 = "user_signed_in?", "user_logged_in?" Benchmark.ips do |x| x.report "enumerable" do DidYouMean::Levenshtein.before_distance STR1, STR2 end x.report "while" do DidYouMean::Levenshtein.after_distance STR1, STR2 end x.compare! end
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages