Open chrisbarber opened 6 years ago
The current list-of-dict format for streamline coordinates is pretty costly when it comes to WAMP serialization. Here is a commented line of code which implements instead dict-of-list which is faster and more compact when it comes to serialization:
https://github.com/AllenInstitute/datacube/blob/dev/services/locator/classes/spatial_search.py#L81
This change would have to be supported in the connectivity web app which is currently the only consumer of these streamline payloads.
Possibly should also change the streamline format used by the 3d viewer
The current list-of-dict format for streamline coordinates is pretty costly when it comes to WAMP serialization. Here is a commented line of code which implements instead dict-of-list which is faster and more compact when it comes to serialization:
https://github.com/AllenInstitute/datacube/blob/dev/services/locator/classes/spatial_search.py#L81
This change would have to be supported in the connectivity web app which is currently the only consumer of these streamline payloads.