Use more efficient emptiness check

Using empty() instead of size() can be faster. size() can take linear time but empty() is guaranteed to take constant time.
Merge pull request #7 from mscdex/master

Use more efficient emptiness check
version bump 0.1.11