There's much more to signals and slots than simply being callbacks. There's no if statement on the plug-in side to determine what callback to invoke--simply a function in the main application that's called when data is ready. With signals and slots, there are lookups and data marshalling involved, so there is overhead incurred. For most applications it's not enough to be noticed by a user, but as I said earlier, I could have 40,000 (maybe even in the 500,000 range) function invocations per second. This is a data collection application in a science lab, so performance matters here. Now perhaps if there are benchmarks demonstrating signal/slot efficiency I'll be convinced. Until then, though, I'm most concerned with making everything as quickly as possible, as we have a large amount of data to collect and process.
Bookmarks