This is my first time playing around with C, so please feel free to tell me if more micro-optimizations can be achieved. Same for compiler hints, notably for the MS_INLINE and MS_NOINLINE near ms_check_decimal_constraints(...): I implemented it in a manner similar to what was done for floats for example, though I must admit that I did not quite understand the pattern for when to use each.
Also, I added a DevContainer for easier setup for newcomers to the project.
This is my first time playing around with C, so please feel free to tell me if more micro-optimizations can be achieved. Same for compiler hints, notably for the
MS_INLINE
andMS_NOINLINE
nearms_check_decimal_constraints(...)
: I implemented it in a manner similar to what was done for floats for example, though I must admit that I did not quite understand the pattern for when to use each.Also, I added a DevContainer for easier setup for newcomers to the project.
Closes https://github.com/jcrist/msgspec/issues/683.