mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Use indexOfElement in JsonReader.
This means we don't need to re-navigate through the segments for every single character. Should be a small performance win.
This commit is contained in:
7
pom.xml
7
pom.xml
@@ -26,7 +26,7 @@
|
||||
<java.version>1.6</java.version>
|
||||
|
||||
<!-- Dependencies -->
|
||||
<okio.version>1.0.1</okio.version>
|
||||
<okio.version>1.0.2-SNAPSHOT</okio.version>
|
||||
|
||||
<!-- Test Dependencies -->
|
||||
<junit.version>4.11</junit.version>
|
||||
@@ -58,6 +58,11 @@
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okio</groupId>
|
||||
<artifactId>okio</artifactId>
|
||||
<version>${okio.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
Reference in New Issue
Block a user