3 ms·
That sounds nice for chunking, but what if you need contiguous memory? E.g. viewing an image or running an AI model
by Kalanos 2y ago
That sounds nice for chunking, but what if you need contiguous memory? E.g. viewing an image or running an AI model
- mort96 2y agoYou can always use a chunked API to read data into a contiguous buffer. Just allocate a large enough contiguous block of memory, then copy chunk by chunk into that contiguous memory until you've read everything.