Closed Darwinnpos closed 1 year ago
Try to use this preprocessor macro:
YAS_OBJECT_MAX_MEMBERS=50
@DarwinRepo any news?
What is the performance loss?
what are you talking about?
change the preprocessor macro : YAS_OBJECT_MAX_MEMBERS
your question is, will the YAS_OBJECT_MAX_MEMBERS
macro affect to performance? if yes - no, it will affect on compilation time.
and, my suggestion is not to use fundamental types like int
/long
directly, but using standard aliases like std::int32_t
/std::int64_t
thank you
struct Bar { int a1; int a2; int a3; ... int a20; ... serialize ... };
When load the data, compile error C2243 VS2022