Open matigumma opened 3 weeks ago
Thanks for the feedback. I noticed that 449 mentioned that UseInt64
is only valid for the amd64
architecture, so I added the judgment now.
UseInt64
is called because Sonic uses float64 when deserializing int64 long integers, resulting in precision loss. So banexg call UseInt64
to force the use of int64 to parse long integers to avoid precision loss. You can test whether there is such behavior under the mac m1 architecture. If you have an optimization solution, you are welcome to submit a merge request. I have added a reminder in the readme
some tests:
commented:
It seems to be an incompatibility caused by changes in the new version of sonic. It has been fixed. Thanks for the feedback!
related to this: https://github.com/bytedance/sonic/issues/449