Author rhettinger
Recipients Kshitiz17, brandtbucher, rhettinger, steven.daprano, xtreak
Date 2021-06-02.01:11:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In difflib, there's an example where it would be easy to run performance tests.

            match tag:
                case 'replace':
                    g = self._fancy_replace(a, alo, ahi, b, blo, bhi)
                case 'delete':
                    g = self._dump('-', a, alo, ahi)
                case 'insert':
                    g = self._dump('+', b, blo, bhi)
                case 'equal':
                    g = self._dump(' ', a, alo, ahi)
                case _:
                    raise ValueError('unknown tag %r' % (tag,))
Date User Action Args
2021-06-02 01:11:06rhettingersetrecipients: + rhettinger, steven.daprano, xtreak, brandtbucher, Kshitiz17
2021-06-02 01:11:06rhettingersetmessageid: <>
2021-06-02 01:11:06rhettingerlinkissue44276 messages
2021-06-02 01:11:06rhettingercreate