Archived
1
0

Added support for untokenized indexes, various speed improvements

by using strict equality comparisons where possible, more IE compatibility
fixes.
This commit is contained in:
2012-04-01 22:13:09 +00:00
committed by cdramey
parent 1b174aa0c4
commit 662ff40fa2
2 changed files with 46 additions and 31 deletions

View File

@ -44,7 +44,11 @@
var s = new Date().getTime();
for(var i = 0; i < json.length; i++){
for(var f in json[i]){
if(f != 'id'){ t.index(i, f, json[i][f]); }
switch(f){
case 'id': break;
case 'email': t.index(false, i, f, json[i][f]); break;
default: t.index(true, i, f, json[i][f]); break;
}
}
}