optimize renaming

Idea

 

renaming can be really slow.  There are probably opportunities to use caching or more efficient algorithms to speed it up.

 

 

 

+relevant user stories