提交 f0a63752 编写于 作者: M martin

6834805: Improve jar -C performance

Summary: Store "-C" directories in a HashSet, not List, to remove duplicates
Reviewed-by: sherman
Contributed-by: jeremymanson@google.com
上级 ca56d582
......@@ -56,7 +56,7 @@ class Main {
Set<File> entries = new LinkedHashSet<File>();
// Directories specified by "-C" operation.
List<String> paths = new ArrayList<String>();
Set<String> paths = new HashSet<String>();
CRC32 crc32 = new CRC32();
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册