Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Performance problem with renaming some objects
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Predelnik
Senior Member

Russia
37 Posts

Posted - May 26 2015 :  07:34:33 AM  Show Profile  Reply with Quote
Renaming something which has common name, like `data` or `i` though it may be just class private variable name or something similar could take enormous amount time (approx. 50x difference more than in normal case).

I don't really care for references with question mark it finds, all I want is to rename it faster, could I somehow ignore "references with question mark" to have faster searching?

Edited by - Predelnik on May 26 2015 07:35:20 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - May 27 2015 :  4:27:53 PM  Show Profile  Reply with Quote
Unfortunately we need to analyze the context of each occurrence so we know whether it's valid or not. We then decide to use the ? mark or not.

You have 2 way to speed up the process:
1. untick the "Search all projects" checkbox if you're sure that there are no references from other projects
2. press the "Stop" button to stop the search if you are sure that all references are found already. You can still proceed with the rename nonetheless.

Yes, rename is much slower for very short variable names. (I usually use variables like "i" inside methods so VA doesn't scan other files in that case.)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000