Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What data format for object (like JSON) supports in place update?
1 point by haint on July 26, 2016 | hide | past | favorite | 2 comments
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)


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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: