2005-11-25 06:12
AHUser
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)
2005-11-25 10:52
Passion
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.
2005-12-1 22:51
Passion
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?
[url]http://www.cnpack.org/download/unstable/CnWizards_0.7.9.175_Unstable.exe[/url]
2005-12-14 10:30
AHUser
Sorry for the late answer.
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.
页:
[1]
Powered by Discuz! Archiver 5.0.0
© 2001-2006 Comsenz Inc.