You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parity: the same documents export to 1.27 times the text when insert_many ran on the native package #445
The same Python documents, loaded with insert_many, export to different text depending on the package that loaded them. In the export and import study (#369) the plain JSONL of the document shape was 5,157,335 bytes when the records were loaded through the native package and 4,068,321 bytes when they were loaded through arcadedb-jvm (1.27 times) at 10,000 records. At 100,000 records it was 52.06 MB against 41.16 MB (1.26 times). Both packages were 26.11.1.post2, with the same generator and seed.
What is known
The values compare equal after the round trip on both packages, so no data is lost.
In the smoke run the records that the native package loaded carried a per-record type hint for list and map elements in the export text. I read it as a stored-type difference between the insert_many of the two packages, and I have not traced it.
The compressed export files of the other shapes differ by at most 0.3 percent between the two packages, so it shows in the document shape.
To find out
Which stored types differ for the same Python list and dict. A small case is enough: one document with a list and a map, loaded by each package, then EXPORT DATABASE and a diff of the two lines.
Whether the records also differ in size on disk, and not only in the export text.
Whether it is still there on main and on the 26.12.1 wheels. insert_many has changed since 26.11.1.post2.
The numbers are from #369, comments of 2026-11-11. I do not know yet whether this is a defect or only a difference in how the two packages hand lists and maps to the engine.
Activity