You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What does this PR do?
optimize object array copy perf
## Related issues
Closes#1749
## Does this PR introduce any user-facing change?
<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fury/issues/new/choose) describing the
need to do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
```
Benchmark (bufferType) (references) Mode Cnt Score Error Units
CopyBenchmark.fury_copy_object_array array false thrpt 3 3738130.731 ± 2558439.249 ops/s
CopyBenchmark.kryo_copy_object_array array false thrpt 3 1840856.001 ± 3577628.201 ops/s
Benchmark (bufferType) (references) Mode Cnt Score Error Units
CopyBenchmark.fury_copy_object_array array false thrpt 3 8025674.789 ± 7659990.718 ops/s
CopyBenchmark.kryo_copy_object_array array false thrpt 3 1167037.754 ± 1372076.679 ops/s
```
Is your feature request related to a problem? Please describe.
Object array elements are homogeneous mostly, we can cache the previoues immutable info and reduce type dispatch cost to speed up performance.
Describe the solution you'd like
Additional context
#1679
#1743
The text was updated successfully, but these errors were encountered: