use more efficient emptiness checking
use more efficient emptiness checking

Using empty() instead of size() can be faster. size() can take linear time but empty() is guaranteed to take constant time.

jmanero/flat-rocks,juliangruber/a-native-module,jhead/leveldown,Level/rocksdb,chjj/rocksdown,jhead/leveldown,timkuijsten/leveldown,Level/leveldown-mobile,gastrodia/leveldown,phillipj/leveldown,phillipj/leveldown,Level/leveldown-mobile,ralphtheninja/leveldown,snowyu/node-nosql-leveldb,Level/rocksdb,timkuijsten/leveldown,Level/leveldown,mafintosh/leveldown-prebuilt,chjj/rocksdown,No9/leveldown,snowyu/node-nosql-leveldb,Level/leveldown-mobile,MathieuCassagne/leveldown,jmanero/flat-rocks,mafintosh/leveldown-prebuilt,ralphtheninja/leveldown,Level/rocksdb,MathieuCassagne/leveldown,juliangruber/a-native-module-without-prebuild,timkuijsten/leveldown,snowyu/node-nosql-leveldb,jmanero/flat-rocks,Level/leveldown-mobile,snowyu/node-nosql-leveldb,Level/leveldown,timkuijsten/leveldown,Level/leveldown-mobile,ralphtheninja/leveldown,No9/leveldown,juliangruber/a-native-module,MathieuCassagne/leveldown,gastrodia/leveldown,phillipj/leveldown,No9/leveldown,chjj/rocksdown,phillipj/leveldown,No9/leveldown,gastrodia/leveldown,ralphtheninja/leveldown,No9/leveldown,juliangruber/a-native-module-without-prebuild,juliangruber/a-native-module,mafintosh/leveldown-prebuilt,snowyu/node-nosql-leveldb,mafintosh/leveldown-prebuilt,juliangruber/a-native-module-without-prebuild,juliangruber/a-native-module-without-prebuild,timkuijsten/leveldown,jmanero/flat-rocks,mafintosh/leveldown-prebuilt,ralphtheninja/leveldown,juliangruber/a-native-module-without-prebuild,jhead/leveldown,jhead/leveldown,gastrodia/leveldown,juliangruber/a-native-module,jmanero/flat-rocks,gastrodia/leveldown,MathieuCassagne/leveldown,phillipj/leveldown,jhead/leveldown,juliangruber/a-native-module,Level/leveldown,chjj/rocksdown,MathieuCassagne/leveldown