Please sign in to comment.
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...