Re: [w3c/IndexedDB] Prebuilt IndexedDB format (#224)

> In particular, we would need to spec out the binary format for the prebuilt IDB format.

It occurred to me that supporting a JSON `ReadableStream` may be "good enough" for most uses of IndexedDB. I'd be curious to know what % of IndexedDB users are actually using the more exotic stuff supported by structured cloneable objects (e.g. `Date`s). My guess is not very many – or they would be happy to use strings instead of `Date`s if it meant faster insertion performance.

Maybe a v1 of `putAll` could support a `ReadableStream` of `application/json`, and a v2 could support some as-yet-undesigned binary format?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/224#issuecomment-2495628692
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/224/2495628692@github.com>

Received on Saturday, 23 November 2024 19:25:16 UTC