[swift-evolution] Pitch: Much better-performing, Swift-native Progress replacement
cocoadev at charlessoft.com
Fri Feb 17 13:48:40 CST 2017
> On Feb 17, 2017, at 1:42 PM, Charles Srstka via swift-evolution <swift-evolution at swift.org> wrote:
> - Much better performance. In my testing, updating the completedUnitProperty, with something observing it, takes 1.04 seconds on my 2013 Retinabook, compared with NSProgress’s 52.91 seconds (58.53 seconds if an autorelease pool is used). This frees back-end code from the responsibility of being adulterated with what is effectively UI code in order to determine when the progress object should be updated.
This should have said “updating the completedUnitProperty one million times, with something observing it.” I eagerly await the implementation of our new forum, hopefully with an edit feature, with bated breath.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution