Re: [IndexedDB] Feature Request: Allow batch adding records (from an Array) (#69)

Yeah, a `putAll(sequence<value> values, optional sequence<key> keys)` is plausible.

We'd have to performance test against the loop. I'm not entirely sure it'd be notably more efficient than the loop in most implementations; if the overhead is in the object serialization and (if necessary) index key generation it doesn't necessarily buy you anything.

For kicks, can you share a minimal example that you'd expect to be significantly more efficient? Then implementers could give it a try and see. (I could whip something up but I might make some assumptions about what you're doing.)

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/69#issuecomment-188309532

Received on Wednesday, 24 February 2016 15:40:18 UTC