LABSN / expyfun

Experimental paradigm functions.
BSD 3-Clause "New" or "Revised" License
13 stars 21 forks source link

ec.load_buffer() is slow #407

Closed JustinTFleming closed 4 years ago

JustinTFleming commented 4 years ago

Loading a fairly large stimulus to the buffer (53 chans, 16 sec at 48kHz) is taking longer than expected: 6.93 sec, 7.04 sec, and 7.00 sec on three test runs.

Ross mentioned that this may be a known bug related to unnecessary memory copying.

larsoner commented 4 years ago

@JustinTFleming indeed, we can probably avoid this by being more careful about copies.