Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BF: when setting attrs to numpy arrays > 2x2 don't log the full value
It turns out that repr() on numpy arrays is slow if even slightly bigger (probably as numpy tries to find a readable way to format it). To prvent slow logging we now just log that a change occurred without logging the (slow) new value. See discussion here: https://discourse.psychopy.org/t/elementarray-xys-update-takes-16-ms/6725
- Loading branch information