]> git.wincent.com - wikitext.git/commit
Only push fulltext tokens if they exceed minimum length
authorWincent Colaiuta <win@wincent.com>
Thu, 24 Apr 2008 08:11:08 +0000 (10:11 +0200)
committerWincent Colaiuta <win@wincent.com>
Thu, 24 Apr 2008 08:11:08 +0000 (10:11 +0200)
commit5131425ab42ce7e60be83f06d5904c08e48023f1
tree6a9ee17711f628534ebb305dea3faa76416dfaa9
parentb9ae05254a9b12a0935b0c4f9f8d66001c557d92
Only push fulltext tokens if they exceed minimum length

Doing this in C will be much faster than doing it in Ruby, and will save
memory to boot. This first step uses a hard-coded limit of three;
forthcoming is an override.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/parser.c