Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Optimize Poly3DCollection.get_vector for ndarray arguments#16680

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

apaszke
Copy link
Contributor

PR Summary

This adds some extra code-paths, which take advantage of the fact that
the input polygons have the same number of vertices and are already
in a NumPy array.

Saves 0.3s for a 400x400 surface plot on my old MBP. This continues the series of patches from#16659.

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

This adds some extra code-paths, which take advantage of the fact thatthe input polygons have the same number of vertices and are alreadyin a NumPy array.
@apaszke
Copy link
ContributorAuthor

Superseded by#16688

@apaszkeapaszke closed thisMar 5, 2020
@apaszkeapaszke deleted the optimize_get_vector branchMarch 5, 2020 20:58
@anntzer
Copy link
Contributor

(You can force-push to the same branch to reuse the PR.)

@apaszke
Copy link
ContributorAuthor

I know, but I've decided to take a completely different approach, so I figured it might be better to create a new one. It needed a whole new description, etc.

anntzer reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@apaszke@anntzer

[8]ページ先頭

©2009-2025 Movatter.jp