Mercurial > hg
comparison hgext/win32mbcs.py @ 16076:e7701459fb42
windows: use 'str.replace()' instead of combination of split() and join()
'str.replace()' is twice (or more) as fast as combination of split()
and join().
combination of split() and join() in current 'util.pconvert()'
implementation comes only from historical reason when win32mbcs
extension was introduced.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Sun, 05 Feb 2012 22:58:31 +0900 |
parents | 9e6a13c2aeb9 |
children | 38caf405d010 |
comparison
equal
deleted
inserted
replaced
16075:d2e8e79a6361 | 16076:e7701459fb42 |
---|