Closed PaulWagener closed 6 months ago
Is this something to consider for this crate? I'd like to create a pull request but am unsure on how to integrate it.
Yes, I'm generally in-favor of anything we can do to help I/O, including parallelization and/or async
work. PRs welcome, but I apologize because I don't have the bandwidth right now to provide integration suggestions (this is a hobby project for me) šš¼.
I'll take care of this, it should be rather easy
Closed by #70 and the v0.8.4 release.
It is possible to increase the performance of decoding LAZ files by an order of magnitude by using the
parallel
feature of thelaz-rs
crate.I've created an example of this in this commit: https://github.com/PaulWagener/las-rs/commit/a664962ed598a3db39906895320bc01e2242a526
Which on my MacBook M3 gives as output:
(the file in this run can be downloaded here)
This does require to load the entire file in memory which is not a great fit for the current API and might not be possible for some workloads.
Is this something to consider for this crate? I'd like to create a pull request but am unsure on how to integrate it.