You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Study the possibility of replacing simple dataclasses that just store information by TypedDict instead.
Through profiling we can see that performance drops considerably when using dataclasses. Whilst we like them because of t heir type hints we are now at a moment to balance readability with more performance-oriented code.
Use case
With the introduction of new strategies algorithms get more complex and naturally become slower (multiple array exploration).
Aside from algorithms we need to consider the possibility of moving to more efficient data structures.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Kind of request
Changing existing functionality
Enhancement Description
Study the possibility of replacing simple dataclasses that just store information by
TypedDict
instead.Through profiling we can see that performance drops considerably when using dataclasses. Whilst we like them because of t heir type hints we are now at a moment to balance readability with more performance-oriented code.
Use case
With the introduction of new strategies algorithms get more complex and naturally become slower (multiple array exploration).
Aside from algorithms we need to consider the possibility of moving to more efficient data structures.
Additional Context
No response
The text was updated successfully, but these errors were encountered: