Skip to content

Python bindings - huge performance overhead #2154

Closed Answered by yuvaltassa
davidhozic asked this question in Asking for Help
Discussion options

You must be logged in to vote

To clarify for the benefit of future readers, you replaced

for contact in self.data.contact:
  ...

with

for i in range(self.data.ncon):
  c = self.data.contact[i]
  ...

correct?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yuvaltassa
Comment options

Answer selected by yuvaltassa
@davidhozic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants