Most efficient version, however, not generic anymore.
Merge pull request #2 from titarenko/probably-best

Most efficient version, however, not generic anymore.