Avoid find operation when creates cache

When element is created, we can return then, instead of find in the hashmap. This change allow us to increase performance in the first call. I know that the change is too small, less than 1ns, but all performance are welcome.