commit | 1a9530e36217e33deb9d78a790bcfb3d93a6b064 | [log] [tgz] |
---|---|---|
author | Joshua Bloch <jjb@google.com> | Mon Dec 14 16:32:33 2009 -0800 |
committer | Joshua Bloch <jjb@google.com> | Tue Dec 15 18:39:55 2009 -0800 |
tree | 0544a3e07df3fea7e8189a1401618dda988fbda8 | |
parent | f0e054b5871579df9cc0aa5d7c63e16e1d7939fb [diff] |
Rewrote all the toString and bit twiddling code in Integer and Long using state-of-the-art recipes. The resulting code is much faster than what it replaced, as well as being more concise. While I was in the neighborhood I also cleaned up a few other things in the boxed primitives (TYPE fields, small-value caches, etc.). Addressed review comments.