summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-09-10 01:42:41 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-09-10 01:42:41 +0000
commitf3a76994e35f1ff91731dd3b85ef5c253025bb31 (patch)
tree43e43c5b2e41728f0b3850b8e2ceaff488295021 /ChangeLog
parent9f3e716b63aae6e7c5b0bb335d73a327192b4967 (diff)
downloadclasspath-f3a76994e35f1ff91731dd3b85ef5c253025bb31.tar.gz
ZipEntry tweaks to improve performance.
2008-02-07 Ian Rogers <ian.rogers@manchester.ac.uk> * java/util/zip/ZipEntry.java: Use byte fields instead of integer fields, store the time as well as the DOS time and don't retain a global Calendar instance. (setDOSTime(int)): Set KNOWN_DOSTIME instead of KNOWN_TIME, and unset KNOWN_TIME. (getDOSTime()): Compute DOS time from UNIX time only when needed. (clone()): Provide cloning via the ZipEntry constructor where possible. (setTime(long)): Don't compute DOS time at this point. (getCalendar()): Removed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d5f1f7af0..e6d4cbf7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2008-02-07 Ian Rogers <ian.rogers@manchester.ac.uk>
+
+ * java/util/zip/ZipEntry.java:
+ Use byte fields instead of integer fields,
+ store the time as well as the DOS time and
+ don't retain a global Calendar instance.
+ (setDOSTime(int)): Set KNOWN_DOSTIME instead
+ of KNOWN_TIME, and unset KNOWN_TIME.
+ (getDOSTime()): Compute DOS time from UNIX time
+ only when needed.
+ (clone()): Provide cloning via the ZipEntry constructor
+ where possible.
+ (setTime(long)): Don't compute DOS time at this point.
+ (getCalendar()): Removed.
+
2008-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* tools/gnu/classpath/tools/getopt/Parser.java: