nantunes commented on issue #17641: URL: https://github.com/apache/echarts/issues/17641#issuecomment-2371575370
https://github.com/apache/echarts/issues/17656 was also closed. The open question is: is there a reason to clone? I'm working with Apache Arrow data. Apache Arrow is a portable format for storing column-oriented data, allowing data to be shared as-is between various systems and language runtimes. It enables zero-copy query processing over large amounts of loaded data. I'm trying to avoid pre-processing the data. I'm not expecting echarts to support arrow tables, but I'm able to use object proxies that translate between the two. But in the end everything is getting cloned, affecting both performance and memory. [zrender's clone function](https://github.com/ecomfe/zrender/blob/247e11966657fb0fd3d92533e15e8b655bff3327/src/core/util.ts#L78) states "Instance of user defined class will be cloned to a plain object, without properties in prototype.". There is also no way to customise `BUILTIN_OBJECT`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
