[pdal-commits] [PDAL/PDAL] c49c71: Don't resize the buffer for every chunk if its cap...
GitHub
noreply at github.com
Fri Feb 1 13:40:37 PST 2013
Branch: refs/heads/master
Home: https://github.com/PDAL/PDAL
Commit: c49c71700f5a8d512e70eb37a49a0e58ca0b6969
https://github.com/PDAL/PDAL/commit/c49c71700f5a8d512e70eb37a49a0e58ca0b6969
Author: Howard Butler <hobu.inc at gmail.com>
Date: 2013-02-01 (Fri, 01 Feb 2013)
Changed paths:
M src/Writer.cpp
Log Message:
-----------
Don't resize the buffer for every chunk if its capacity is != the number of points to read per chunk (just make sure it is big enough. Allocate the size of the Writer's buffer to be the min(num_to_write, def_chunk_size) if num_to_write is not 0
Commit: 2b7ac4c78deee691c7745e5caebdce26e1e4aaea
https://github.com/PDAL/PDAL/commit/2b7ac4c78deee691c7745e5caebdce26e1e4aaea
Author: Howard Butler <hobu.inc at gmail.com>
Date: 2013-02-01 (Fri, 01 Feb 2013)
Changed paths:
M include/pdal/Stage.hpp
M src/Stage.cpp
Log Message:
-----------
getNumPoints caches the previous stage's point count if it is expected to forward it instead of asking the entire pipeline every time for the point count
Compare: https://github.com/PDAL/PDAL/compare/af26f96af18f...2b7ac4c78dee
More information about the pdal-commits
mailing list