msgspec icon indicating copy to clipboard operation
msgspec copied to clipboard

Support numeric constraints for Decimal types

Open corentin-regent opened this issue 1 year ago • 0 comments

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.

Closes https://github.com/jcrist/msgspec/issues/683.

corentin-regent avatar May 20 '24 06:05 corentin-regent