Mercurial > hg
diff mercurial/mdiff.py @ 31392:6168d4b93634
match: don't use mutable default argument value
There shouldn't be a big perf hit creating a new object because
this function is complicated and does things that dwarf the cost
of creating a new PyObject.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 12 Mar 2017 21:53:03 -0700 |
parents | 92714858dd3e |
children | a7acda2de4b8 |