Skip to content

Numpy boolean slicing rather than multiplying#2

Open
timcera wants to merge 1 commit intorveciana:masterfrom
timcera:patch-1
Open

Numpy boolean slicing rather than multiplying#2
timcera wants to merge 1 commit intorveciana:masterfrom
timcera:patch-1

Conversation

@timcera
Copy link

@timcera timcera commented May 21, 2014

The multiplication by the boolean is computationally expensive compared to using boolean indexing. Speeds it up a bunch.

The multiplication by the boolean is computationally expensive compared to using boolean indexing. Speeds it up a bunch.
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.

1 participant