Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory 99 #106

Merged
merged 18 commits into from Apr 9, 2018
Merged

Out of memory 99 #106

merged 18 commits into from Apr 9, 2018

Conversation

romulogoncalves
Copy link
Collaborator

To cover issue #99.
From now on compute_neighborhoods is a generator to be memory efficient. This means the user gets an iterator instead of a result. The user needs to call next(compute_neighborhoods) to iterate over the results.

… memory issues we should only compute for a fraction of the target pointcloud. To compute all neighbors we use a generator.
…lygon's boundaries are not considered within the polygon.
… not overlap. The right and upper boundaries of the tiles should not overlap.
…not have the same order as the base Target pointcloud. For that reason we sequentially partition the target pointcloud.
@romulogoncalves romulogoncalves changed the base branch from master to development March 28, 2018 14:46
@coveralls
Copy link

coveralls commented Mar 28, 2018

Coverage Status

Coverage decreased (-1.0%) to 85.891% when pulling 0b415f8 on out_of_memory_99 into 84144f4 on development.

Copy link
Contributor

@cwmeijer cwmeijer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just some formatting things through.
To fix it could you run prospector (see contributing file in root) and have a look at the issues? Fix the whitespace issues with 'autopep8 -i <filename.py>' (don't use -aggressive as it could actually break your code when you do). After that have a look at the now much shorter prospector complaint list and only fix stuff that make sense to you. Not everything is important but unused imports and unused variables should at least be fixed.

@romulogoncalves
Copy link
Collaborator Author

I have checked the issues with prospector and solved them.

@cwmeijer cwmeijer merged commit 3139bee into development Apr 9, 2018
@cwmeijer cwmeijer deleted the out_of_memory_99 branch April 9, 2018 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants