Changeset [a6407bafcc892ef1220fd6f070036c44128bbee6] by Adam Bair

June 14th, 2008 @ 12:26 AM

Realized I was doing word lookups against an array instead of a hash; this is fixed. Also included some quick performance benchmarks on different string and dictionary sizes.

http://github.com/adambair/fu-fu...

Committed by Adam Bair

  • A test/benchmark/dictionary_test_100.yml
  • A test/benchmark/dictionary_test_1000.yml
  • A test/benchmark/dictionary_test_100000.yml
  • A test/benchmark/dictionary_test_25000.yml
  • A test/benchmark/dictionary_test_5000.yml
  • A test/benchmark/dictionary_test_50000.yml
  • A test/benchmark/fu-fu_benchmark.rb
  • A test/benchmark/last_run.txt
  • A test/benchmark/text_test_100.txt
  • A test/benchmark/text_test_1000.txt
  • A test/benchmark/text_test_10000.txt
  • A test/benchmark/text_test_5000.txt
  • R test/dictionary_test.rb
  • M README
  • M lib/profanity_filter.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Fu-fu: The Profanity Filter for Rails.

http://github.com/adambair/fu-fu/tree/master