diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-09-10 01:42:41 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-09-10 01:42:41 +0000 |
commit | f3a76994e35f1ff91731dd3b85ef5c253025bb31 (patch) | |
tree | 43e43c5b2e41728f0b3850b8e2ceaff488295021 /ChangeLog | |
parent | 9f3e716b63aae6e7c5b0bb335d73a327192b4967 (diff) | |
download | classpath-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-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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: |