commit | a1c3feb7fac7fe90ff8a05779d7db9cf77e79ae1 | [log] [tgz] |
---|---|---|
author | Alexander Gavrilov <angavrilov@gmail.com> | Thu Sep 18 01:07:35 2008 +0400 |
committer | Shawn O. Pearce <spearce@spearce.org> | Wed Sep 24 12:48:32 2008 -0700 |
tree | 3f2d1b5e9f00eea367b3585096de4cc3d77051a9 | |
parent | 3fe0162362f80262ed1965f19c1f57f298931c94 [diff] |
git-gui: Optimize encoding name resolution using a lookup table. Encoding menu construction does almost a hundred of encoding resolutions, which with the old implementation led to a small but noticeable delay. Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com> Tested-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>