-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
experimental raw support tracker #142
Comments
@pi0 Does this need some refractor? |
Was attempting to store |
@0xasimetriq would you please make a reproduction if have an issue with storing raw data? 🙏🏼 |
Hello, Since this topic is also flagged as a discussion, I have a short question. My goal: I would like to cache/store WASM models and binaries in indexedDB. Since these models are intended for client-side use only and my NuxtJS Composable is also only called on the client-side, I have some questions about I have compared both However, I get the error My question is whether we can simply add I am relatively new to this topic and unfortunately do not have very deep knowledge about it. I just wanted to share my observation and ask how I could store my Uint8Array with unstorage and the indexeddb driver without having to convert it to base64, which can be quite performance-intensive for a model of around > 350MB in size. Attached is a short NuxtJS composable that I tried:
For now, I will use idb-keyval for these models. I would greatly appreciate any tips on how to avoid this redundant dependency and how to solve the entire thing using unstorage. Thank you very much! |
Update: We should consider adopting undio for standard raw types.
Initial issue: #21. Tracking experimental
getItemRaw/setItemRaw
support added in #141. Please comment on any particular issues and ideas with the current implementation.Experimental limitations:
base64:
strings without json supportoverlay
andhttp
backends when translating string operationsany
since we don't enforce any return value from drivers implementation.The text was updated successfully, but these errors were encountered: