Subject: Speed improvement for Units and Forms list [Print This Page] Author:
AHUser Time: 2005-11-25 06:12 Subject: Speed improvement for Units and Forms list
I have modified the ViewForms and ViewUnits formulars. They were a little bit too slow for about 300 files. First the content was filled twice and when you selected some items the dialogs became slower and slower because the statusbar/convert button update was execute for every single selected item.
Furthermore I added a faster FindFile() function to Utils/CnWizUtils.pas that improved the speed of these dialogs, too.
I have attached a patch against CVS (2005-11-24 23:00 GMT+0100)
Nice! We've applied this patch, and found the speed has some improvment now.
Nevertheless, in our testing, we found that some units' structure of Unit/Form list have some problems. We plan to refactor them these days.
Thank you for your patching.Author:
Passion Time: 2005-12-1 22:51
Now we've do some optimization about the units/forms List.
Would you please download our latest nightly version to test the performance of these list function?
The dialogs have a good performance now. Only if the Forms-List is opened the first time it takes some time until Windows has cached the files. But that is acceptable.