From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5642b5e0552e165e,start X-Google-Attributes: gid103376,public From: herwin@gmu.edu (Harry Erwin) Subject: Performance and Thread Safety of the Booch Components Date: 2000/04/21 Message-ID: <1e9flrw.13c8d0t190e9v6N%herwin@gmu.edu>#1/1 X-Deja-AN: 613952675 Organization: HDE Associates X-Server-Date: 21 Apr 2000 13:33:10 GMT User-Agent: MacSOUP/2.4.5 Newsgroups: comp.lang.ada Date: 2000-04-21T13:33:10+00:00 List-Id: Disclaimer: my expertise is much deeper for C++ than Ada. Experience with the STL in C++ has shown that the standard container classes and associated algorithms degrade performance severely unless a significant level of optimization is turned on. This is in part due to the number of temporary objects and function calls that get generated. On the other hand, with optimization, they about as fast as the best hand-tuned code. What is the experience with the Booch Components in Ada 95? They look at least as well-designed as the STL. Are they also slow unless optimization in enabled? If so, what level of optimization is needed? The thread-safety of the STL is a problem for strings, which are by default COW in most compiler implementations. Are there similar issues for any of the Booch components that I should be aware of? The Booch components appear to be generally exception-safe and exception-neutral. Are there any issues known that I should be aware of?--other than one esoteric bug involving copying between queues of different types that I've already reported. -- Harry Erwin, PhD, , Bat Researcher, Senior SW Analyst and Security Engineer, and Adjunct Professor of Computer Science, George Mason University.