With the current implementation, you must either create las::Reader with File or &'static File, which means you have to open a file twice in order to use laz-rs to decompress the points in parallel. This change replaces 'static with 'a so that a locally scoped &File can be used.
With the current implementation, you must either create
las::Reader
withFile
or&'static File
, which means you have to open a file twice in order to use laz-rs to decompress the points in parallel. This change replaces'static
with'a
so that a locally scoped&File
can be used.