Open ueman opened 3 years ago
@ueman I will look at them.
Although as far as I know, ObjectBox is using flatbuffers under the hook, I can look at how Sembast is solving the serializing part and compare them to how Hive or Flatbuffers perform.
That's interesting I didn't know that about ObjectBox.
Looks like Sembast uses JSON textfiles: https://github.com/tekartik/sembast.dart/blob/master/sembast/doc/storage_format.md
Oh I see, interesting.
So, essentially the serializing speed depends on how fast someone can serialize JSON. I would assume, It would be much slower?
There's just one way to find out.
Well I would guess that it's not that slow because the file is append only. However there are compactions every now and then to reduce the file size which could cause seemingly random slow downs.
There's just one way to find out.
absolutely. I will have to take a look since I only use the serialization of the libs to compare, not actually the write to the database.
I guess it would be nice if the comparison includes
They aren't strictly speaking a serializer, however they are solving more or less the same use case as Hive and Isar.