Replies: 2 comments 3 replies
-
do the byteorder translation in place if possible - so that you get a It sounds interesting but implementing sqlite specific stuff in the main crate is not in the plan right now. |
Beta Was this translation helpful? Give feedback.
-
I'd consider using the .npy format (via my I suppose, though, if you're only dealing with 1-D arrays, then the overhead of the .npy header may be larger than you'd like, since all that's really necessary for the 1-D case is the element type and endianness. The |
Beta Was this translation helpful? Give feedback.
-
Hi,
Sqlite is the undisputed champion in terms of embedded databases, and so many applications (that might use
rust-ndarray
) rely on embedded databases, it may be useful to document howrust-ndarray
could interoperate with large arrays stored in formats common to these sorts of data stores.That said, there's 2 camps of thought with most embedded databases: store arrays in Sqlite as tables, each row being an element (if you plan to individually access elements), or store arrays as byte array blobs (if you plan to retrieve entire array, never dealing with individual elements).
I fall into the 2nd camp, and I was wondering if folks at
rust-ndarray
had any thoughts to add on how best to interact with datatypes such as byte array (blobs) to do simple arithmetic to start.So is there a simpler way to say, subtract to blobs from Sqlite?:
So in summary, how does this community feel about?:
Beta Was this translation helpful? Give feedback.
All reactions