Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. cleanups #191

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Misc. cleanups #191

merged 2 commits into from
Dec 5, 2023

Conversation

WardBrian
Copy link
Collaborator

While looking into #190, I found a few small improvements:

  • Using ctypes.byref is cheaper than actually constructing a ctypes.pointer
  • Some missing return type annotations
  • A few places where we said 'Bridgestan' instead of 'BridgeStan'

Copy link
Owner

@roualdes roualdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find. Thanks.

Here's a quick reference to that claim, for whatever it's worth. Python ctypes.byref() doc.

@WardBrian WardBrian merged commit d37a860 into main Dec 5, 2023
19 checks passed
@WardBrian WardBrian deleted the python/cleanups branch December 5, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants