We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Appending to List is Slow
https://github.com/ryansmccoy/zmq-high-speed-subs/blob/master/zmq_high_speed_subs/_14_worker.py
np_array = np.append(np_array, array[0])
Should allocate entire list ahead of time.
The text was updated successfully, but these errors were encountered:
Also, iterating over messages. Should probably be apply
` This message = packed.decode().split(',')
array = self.process_message(message[1:]) np_array = np.append(np_array, array[0])
`
Sorry, something went wrong.
No branches or pull requests
Description
Appending to List is Slow
https://github.com/ryansmccoy/zmq-high-speed-subs/blob/master/zmq_high_speed_subs/_14_worker.py
Should allocate entire list ahead of time.
The text was updated successfully, but these errors were encountered: