PDA

View Full Version : Performance Parameters to be considered while using signnals / slots



AK0705
1st October 2014, 11:52
Hello friends,

I would like to know the impact / overhead of using signals / slots when compared with using direct calls with pointers
When I have to update a value to consumer for every few milliseconds and when number ( may be 100) of such consumers exist

Specifically about Many to one relationship i.e. many signals are connected to one slot. In this scenario traditional design patterns are preferred or signals/slots can be preferred choice while developing application using Qt

Thanks

Rajesh.Rathod
1st October 2014, 12:24
Refer the "Slot" paragraph in below link....
http://qt-project.org/doc/qt-4.8/signalsandslots.html

wysota
1st October 2014, 13:19
I would like to know the impact / overhead of using signals / slots when compared with using direct calls with pointers
Neglectible. In regular situations signal-slot connections are realized via direct calls.