Skip to content

Commit

Permalink
Performance tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
privman committed Oct 3, 2012
1 parent c7da1c5 commit b80e1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/memcached.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Client.config = {
dataSet = JSON.parse(dataSet); dataSet = JSON.parse(dataSet);
break; break;
case FLAG_NUMERIC: case FLAG_NUMERIC:
dataSet = parseFloat(dataSet); dataSet = +dataSet;
break; break;
case FLAG_BINARY: case FLAG_BINARY:
tmp = new Buffer(dataSet.length); tmp = new Buffer(dataSet.length);
Expand Down

0 comments on commit b80e1c3

Please sign in to comment.