in libmpdec to prevent undefined behavior if an invalid context is used. This cannot occur for the _decimal module since user input for the context is validated.
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.