[Bug]: Convert_dtype on a list/tuple of many items is not performant #963
Labels
category: enhancement
improvements of code or code behavior
priority: low
alternative solution already working and/or relevant to only specific user(s)
What happened?
These lines convert each element of a list/tuple in a for loop. This could be more performant. Observed in Frank Lab conversions.
https://github.com/hdmf-dev/hdmf/blob/dev/src/hdmf/build/objectmapper.py#L234-L236
Steps to Reproduce
Write a timeseries where the timestamps are stored in a list of a million ints or floats.
Traceback
No response
Operating System
macOS
Python Executable
Conda
Python Version
3.11
Package Versions
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: