commit | 692222b08ff88eb92b523bf4780d7ea17a23aa80 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Sep 09 18:28:08 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Sep 09 18:28:08 2010 -0700 |
tree | 61dcbff578a6e060c0d0eac411e34c188859817f | |
parent | 0c53cf8b2c46deb41e91db50ddc17d598cc64a10 [diff] |
Fast-path nio put for char[], double[], long[], nio get for int[]. The other vector puts were already special-cased. int[] is the first get to be accelerated; I'll come back and do the others. I don't know how used vector gets are, but our nio unit tests go from ~4minutes to ~15s after these changes, and all but the last five seconds of that is from the get(int[]) part of this change. Bug: 2935622 Change-Id: I1f5afb77e0fc7abcb661f861fa435cbec4b3f348