Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Dec 28, 2011
1 parent 88a1d1a commit 7ebb061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StreamBoyerMooreHorspool.h
Expand Up @@ -204,13 +204,13 @@ struct StreamBMH;
* sbmh_size_t is a type for representing the needle length. It should be unsigned; * sbmh_size_t is a type for representing the needle length. It should be unsigned;
* it makes no sense for it not to be. * it makes no sense for it not to be.
* By default it's typedef'ed to 'unsigned short', which is a 16-bit integer on most * By default it's typedef'ed to 'unsigned short', which is a 16-bit integer on most
* platforms, allowing us to support needles up to about 64 KB. This ough to be enough * platforms, allowing us to support needles up to about 64 KB. This ought to be enough
* for most people. In the odd situation that you're dealing with extremely large * for most people. In the odd situation that you're dealing with extremely large
* needles, you can typedef this to 'unsigned int' or even 'unsigned long long'. * needles, you can typedef this to 'unsigned int' or even 'unsigned long long'.
* *
* Its typedef slightly affects performance. Benchmarks on OS X Snow Leopard (x86_64) * Its typedef slightly affects performance. Benchmarks on OS X Snow Leopard (x86_64)
* have shown that typedeffing this to size_t (64-bit integer) makes the benchmark * have shown that typedeffing this to size_t (64-bit integer) makes the benchmark
* 4-8% faster at the cost of 4 times more memory usage per StreamBMH structure. * 4-8% faster at the cost of 4 times more memory usage per StreamBMH_Occ structure.
* Consider changing the typedef depending on your needs. * Consider changing the typedef depending on your needs.
*/ */
typedef unsigned short sbmh_size_t; typedef unsigned short sbmh_size_t;
Expand Down

0 comments on commit 7ebb061

Please sign in to comment.