-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Labels
cocoindex-coreCocoIndex Core EngineCocoIndex Core Enginegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently we're using Arc[u8] for bytes.
Crate bytes provides a more flexible and efficient way to represent bytes (e.g. if we want a slice of it, we don't need to make a copy). It's widely used by other libraries. We need to do a conversion to interchange with them, e.g. conversion for neo4rs:
cocoindex/src/ops/storages/neo4j.rs
Line 285 in 762031a
| BoltType::Bytes(neo4rs::BoltBytes::new(bytes::Bytes::from_owner(v.clone()))) |
We want to switch to use bytes::Bytes for cocoindex's values.
Metadata
Metadata
Assignees
Labels
cocoindex-coreCocoIndex Core EngineCocoIndex Core Enginegood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed