You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if there is enough work done for each event (e.g. invoking eight empty observers), the regression would be outweighed.
Single-digit-percentage improvements in the SignalProducer starting & disposing performance.
When it comes to a common pattern for a scrolling collection views (rebinding reusable cells to different producers, represented by scenario 5), there is a minor net improvement.
Further optimization
Synchronise Signal.observers using read-copy-update. This removes a lock from the critical path of a Signal, at a cost of more expensive observer insertion.
Benchmark Source
#106 + #112 + #107 + #113
Seven scenarios
TL;DR
SignalProducer
starting & disposing performance.Further optimization
Signal.observers
using read-copy-update. This removes a lock from the critical path of aSignal
, at a cost of more expensive observer insertion.The text was updated successfully, but these errors were encountered: