commit | cc7b3c3cdd4d442d82c113186fecf79f81944b15 | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Tue Oct 27 16:09:15 2015 +0000 |
committer | Narayan Kamath <narayan@google.com> | Thu Nov 12 11:35:40 2015 +0000 |
tree | a9a54edf7a0e07fb916570243bb4be99b707efc7 | |
parent | 8e73764b786b46545c9eb71341b0861015d558d5 [diff] |
String#split fast path optimization Instead of allocating ArrayList and growing/shrinking it, lets count all the separators and allocate the array of the required size. Change-Id: Ia70ef54efd1580903f5752e3d488b3643e5c89b7