optimized caching of number and string items in ItemsView