Skip to content

Commit

Permalink
Update src/twisted/newsfragments/12122.feature
Browse files Browse the repository at this point in the history
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
  • Loading branch information
itamarst and adiroiban authored Mar 28, 2024
1 parent aa068f6 commit 110a531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/twisted/newsfragments/12122.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
``twisted.internet.defer.Deferred`` operations use less CPU.
twisted.internet.defer.Deferred.callback() and twisted.internet.defer.Deferred.addCallbacks() no longer use `assert` to check the type of the arguments. You should now use type checking to validate your code. These changes were done to reduce the CPU usage.

0 comments on commit 110a531

Please sign in to comment.