Add comments
This commit is contained in:
parent
4cdd7a116b
commit
306f5dd493
@ -100,6 +100,8 @@ Result.prototype.addFields = function(fieldDescriptions) {
|
||||
this.fields.push(desc);
|
||||
var parser = types.getTypeParser(desc.dataTypeID, desc.format || 'text');
|
||||
this._parsers.push(parser);
|
||||
//this is some craziness to compile the row result parsing
|
||||
//results in ~60% speedup on large query result sets
|
||||
ctorBody += "\nthis['" + desc.name + "'] = " + inlineParsers(desc.dataTypeID, i, desc.format) + ';';
|
||||
}
|
||||
this.RowCtor = Function("parsers", "rowData", ctorBody);
|
||||
|
Loading…
Reference in New Issue
Block a user