public Iterable<OsmElement> decodeElements() {
        try {
          var buffer = channel.map(FileChannel.MapMode.READ_ONLY, offset, length);
          var result = PbfDecoder.decode(buffer);
          ByteBufferUtil.free(buffer);
          return result;
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
An OSM block reader that iterates through the input file in a single thread, skipping over each block and just
passing the position/offset to workers so they can read the contents from disk in parallel.
<p>
This may result in a speedup on some systems.
planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmInputFile.java