vb、vc、vba基于AO的COM编程效率比较

来源:互联网 发布:淘宝卖家要身份证照片 编辑:程序博客网 时间:2024/06/17 03:04

The performance issues of choosing the development language are not as significant as you might think. Since the majority of the work will be performed within the ArcObjects objects, which are all written in C++, the developer's customization language is for the most part used to control the program flow and user interface interaction. Since Visual Basic uses the same optimized back-end compiler technology that Visual C++ uses, the generated machine code performs at a comparable level. Tests have shown that to perform typical actions on features contained within a database (drawing, querying, editing, and so on), Visual Basic is approximately 2% slower than optimized Visual C++ code, and Visual Basic for Applications is 2% slower than Visual Basic.

也就是说,用ao的com编程,vba、vb和vc效率等级相差2%,所以这么看,从易用性和资源丰富上看,vb是不二之选。

原创粉丝点击