aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorWenchen Fan <wenchen@databricks.com>2016-04-29 23:04:51 -0700
committerXiangrui Meng <meng@databricks.com>2016-04-29 23:04:51 -0700
commit43b149fb885a27f9467aab28e5195f6f03aadcf0 (patch)
treec8620d5d0f42e9f3238020e3bce8f8ea527182eb /R
parent4bac703eb9dcc286d6b89630cf433f95b63a4a1f (diff)
downloadspark-43b149fb885a27f9467aab28e5195f6f03aadcf0.tar.gz
spark-43b149fb885a27f9467aab28e5195f6f03aadcf0.tar.bz2
spark-43b149fb885a27f9467aab28e5195f6f03aadcf0.zip
[SPARK-14850][ML] convert primitive array from/to unsafe array directly in VectorUDT/MatrixUDT
## What changes were proposed in this pull request? This PR adds `fromPrimitiveArray` and `toPrimitiveArray` in `UnsafeArrayData`, so that we can do the conversion much faster in VectorUDT/MatrixUDT. ## How was this patch tested? existing tests and new test suite `UnsafeArraySuite` Author: Wenchen Fan <wenchen@databricks.com> Closes #12640 from cloud-fan/ml.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions