Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [a6407bafcc892ef1220fd6f070036c44128bbee6] by Adam Bair

Revision a6407bafcc892ef1220fd6f070036c44128bbee6, committed 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...

15 changed files

  • 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