-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More protection in cbindWithNames from weird names. (#85)
- Null names are now ignored, allowing us to handle missing symbols safely. - Explicitly handle duplicate names by only keeping the first occurrence, which is more intuitive than the old behavior of keeping only the last occurrence. - Preserve the order of names from the first matrix in the final intersection, which should reduce the amount of reordering during extraction. - Remove the C++ code by handling all the intersection in the Javascript side, which avoids the need to mock up incomparable indices for nulls/duplicates.
- Loading branch information
Showing
3 changed files
with
154 additions
and
96 deletions.
There are no files selected for viewing
This file contains 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 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 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