mars-project / mars

Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
https://mars-project.readthedocs.io
Apache License 2.0
2.68k stars 325 forks source link

Speedup mars deserialization by __new__ #3283

Closed chaokunyang closed 1 year ago

chaokunyang commented 1 year ago

What do these changes do?

This PR remove unecessary default values packing/unpacking/set and descriptor call in mars deserialization to speedup mars deserialization by about 1X times at most.

Related issue number

Fixes #xxxx

Check code requirements