Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski authored Jan 22, 2025
1 parent 5a87b1a commit 1027746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def norm_pdf_v(x, mu, sigma):
return result
```

The performance is poor, because each call to norm.pdf inside the loop allocates and deallocates an array, which is very expensive. This implementation is 6-7 times slower than the scipy implementation on my computer when applied to arrays with 100,000 entries.
The performance is poor, because each call to norm.pdf inside the loop allocates and deallocates an array. This implementation is 6-7 times slower than the scipy implementation on my computer when applied to arrays with 100,000 entries.

## Documentation

Expand Down

0 comments on commit 1027746

Please sign in to comment.