Settings

Theme

What data format for object (like JSON) supports in place update?

1 points by haint 10 years ago · 2 comments · 1 min read


Hi, I want to ask if anybody knows the data format for object serialization that supports in place update (updating a field of object does not cause the rest of object to be copied to another memory location to fit new size of this object)

skram 10 years ago

Some data stores (Mongo, CouchDB) do support in-place updating of JSON objects

  • haintOP 10 years ago

    Yes, but they are not efficient: When updating one small field, like string, which is larger than the original one, the whole document must be resized too, to have enough space for the updated field. This is inconvenient.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection