- Timestamp:
- 2022-04-19T20:15:15+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/protobuf/ProtobufRecord.java
r18431 r18432 33 33 // By not using a stream, we reduce the number of allocations (for getting the WireType) from 257 MB to 40 MB. 34 34 // (The remaining 40 MB is from WireType#values). By using the cached getAllValues(), we drop the 40 MB. 35 WireType tType = null;35 WireType tType = WireType.UNKNOWN; 36 36 for (WireType wType : WireType.getAllValues()) { 37 37 if (wType.getTypeRepresentation() == wireType) {
Note:
See TracChangeset
for help on using the changeset viewer.