GraphBLAS / graphblas-api-c

Other
7 stars 3 forks source link

Where are vector serialize/deserialize? #36

Open DrTimothyAldenDavis opened 2 years ago

DrTimothyAldenDavis commented 2 years ago

GrB_Vector_serialize and GrB_Vector_deserialize are missing from the spec. Also GrB_Vector_serializeSize.

DrTimothyAldenDavis commented 2 years ago

I have a draft GrB_Vector_serialize, GrB_Vector_deserialize, and GrB_Vector_serializeSize in my pre-release of v5.2.0.alpha and v6.0.0.alpha. Shall I remove them? They won't be added to the v2.0 C API Specification?

I have GxB variants for vector serialize/deserialize. as well. My GxB versions for GrB_Matrix_serialize add a descriptor so I can specify the compression method and level. I will keep my GxB variants; it is important to be able to serialize/deserialize both a matrix and a vector.