-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Vectorized lazy indexing #1899
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
Merged
Merged
Vectorized lazy indexing #1899
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
dceb298
Start working
fujiisoup c1b4b60
First support of lazy vectorized indexing.
fujiisoup d989a15
Some optimization.
fujiisoup 218763c
Use unique to decompose vectorized indexing.
fujiisoup 541fca3
Consolidate vectorizedIndexing
fujiisoup 3e05a16
Support vectorized_indexing in h5py
fujiisoup 030a2c4
Refactoring backend array. Added indexing.decompose_indexers. Drop un…
fujiisoup b9f97b4
typo
fujiisoup 850f29c
bugfix and typo
fujiisoup 943ec78
Fix based on @WeatherGod comments.
fujiisoup 91aae64
Use enum-like object to indicate indexing-support types.
fujiisoup 991c1da
Update test_decompose_indexers.
fujiisoup 936954a
Bugfix and benchmarks.
fujiisoup 9144965
fix: support outer/basic indexer in LazilyVectorizedIndexedArray
fujiisoup d1cb976
Merge branch 'master' into vectorized_lazy_indexing
fujiisoup 95e1f1c
More comments.
fujiisoup 180c4f5
Fixing style errors.
stickler-ci dbbe531
Remove unintended dupicate
fujiisoup c2e61ad
combine indexers for on-memory np.ndarray.
fujiisoup b545c3e
fix whats new
fujiisoup 872de73
fix pydap
fujiisoup bb5d1f6
Update comments.
fujiisoup cfe29bb
Support VectorizedIndexing for rasterio. Some bugfix.
fujiisoup 17a7dac
Merge branch 'master' into vectorized_lazy_indexing
fujiisoup 2dff278
flake8
fujiisoup ead6327
More tests
fujiisoup a90ac05
Use LazilyIndexedArray for scalar array instead of loading.
fujiisoup 73f4958
Support negative step slice in rasterio.
fujiisoup fd04966
Make slice-step always positive
fujiisoup b3c3d80
Bugfix in slice-slice
fujiisoup 259f36c
Add pydap support.
fujiisoup 0e7eb2e
Merge branch 'master' into vectorized_lazy_indexing
fujiisoup 0c2e31b
Merge branch 'master' into vectorized_lazy_indexing
fujiisoup d8421a5
Merge branch 'master' into vectorized_lazy_indexing
fujiisoup 7e0959c
Rename LazilyIndexedArray -> LazilyOuterIndexedArray. Remove duplicat…
fujiisoup 4fccdee
flake8
fujiisoup 8e96710
Added transpose to LazilyOuterIndexedArray
fujiisoup File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs logic to handle negative
step
(or at least it should raise an interpretable error message).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I completely forgot about the negative step.
fixed.