Skip to content

Performance: Improve code vectorization - #186

Open
kopperp wants to merge 4 commits into
mainfrom
improvement.performance
Open

kopperp wants to merge 4 commits into
mainfrom
improvement.performance

Conversation

@kopperp

@kopperp kopperp commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Remove interleaved loops in favor of vectorized (numpy-fancy) indexing.

@kopperp kopperp added this to the v1.2.0 milestone Oct 24, 2026
@kopperp kopperp self-assigned this Oct 24, 2026
@kopperp kopperp added the enhancement New feature or request label Oct 24, 2026
@kopperp
kopperp force-pushed the improvement.performance branch from 511fccf to 57d8bd9 Compare October 24, 2026 17:27
@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
3248 2941 91% 85% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
pyhope/basis/basis_connect.py 100% 🟢
pyhope/basis/basis_orient.py 100% 🟢
pyhope/basis/basis_watertight.py 100% 🟢
pyhope/common/common_tools.py 77% 🟢
pyhope/mesh/connect/connect.py 98% 🟢
pyhope/mesh/extrude/mesh_extrude.py 99% 🟢
pyhope/mesh/mesh_builtin.py 100% 🟢
pyhope/mesh/mesh_duplicates.py 100% 🟢
pyhope/mesh/mesh_external.py 100% 🟢
pyhope/mesh/mesh_sides.py 100% 🟢
pyhope/mesh/mesh_sort.py 93% 🟢
pyhope/mesh/reader/reader_gambit.py 100% 🟢
pyhope/mesh/reader/reader_gmsh.py 100% 🟢
pyhope/mesh/reader/reader_hopr.py 98% 🟢
pyhope/mesh/topology/mesh_serendipity.py 98% 🟢
pyhope/mesh/topology/mesh_topology.py 73% 🟢
TOTAL 96% 🟢

updated for commit: df46255 by action🐍

@kopperp
kopperp force-pushed the improvement.performance branch from adf5ef3 to df46255 Compare October 25, 2026 10:22
@kopperp
kopperp marked this pull request as ready for review October 25, 2026 11:01
@kopperp
kopperp requested a review from scopplestone October 25, 2026 11:01

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant