cache this length for _performance_
Merge pull request #3 from 7e7/master

cache item length for _performance_