Author Kshitiz17
Recipients Kshitiz17, brandtbucher, rhettinger, steven.daprano, terry.reedy, xtreak
Date 2021-06-05.05:07:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622869648.54.0.239361205625.issue44276@roundup.psfhosted.org>
In-reply-to
Content
As Brandt shows us, match-case in its current implementation is not significantly different from an if-else ladder in term of performance, though I still maintain that match-case is much more readable than an if-else ladder. I also agree with Karthikeyan and Terry that global replacement is not a good idea, at least not without a significant performance improvement. Therefore I will close this issue.

Currently, some people at issue 44283 are working on improving the performance of match-case so fingers are crossed. If there is some significant gain in performance then I will open new issues on case to case basis.
History
Date User Action Args
2021-06-05 05:07:28Kshitiz17setrecipients: + Kshitiz17, rhettinger, terry.reedy, steven.daprano, xtreak, brandtbucher
2021-06-05 05:07:28Kshitiz17setmessageid: <1622869648.54.0.239361205625.issue44276@roundup.psfhosted.org>
2021-06-05 05:07:28Kshitiz17linkissue44276 messages
2021-06-05 05:07:28Kshitiz17create