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
When working with large segments, getting printable representation turns quite slow. This wouldn't usually be an issue if print() is called manually, but during debugging the text representation is updated repeatedly by the editor.
For example, VS Code starts printing the following warning each time you evaluate a statement or run some code, in this case for a segment with ~5000 elements:
pydevd warning: Computing repr of segment (Segment) was slow (took 0.77s)
A solution might be to stop printing every element beyond a certain size.
The text was updated successfully, but these errors were encountered:
When working with large segments, getting printable representation turns quite slow. This wouldn't usually be an issue if
print()
is called manually, but during debugging the text representation is updated repeatedly by the editor.For example, VS Code starts printing the following warning each time you evaluate a statement or run some code, in this case for a segment with ~5000 elements:
A solution might be to stop printing every element beyond a certain size.
The text was updated successfully, but these errors were encountered: