Minor: slightly improved performance of common methods
Merge branch 'master' of https://github.com/nuvolabase/orientdb