Property OptimizationsEnabled
| Improve this Doc View SourceOptimizationsEnabled
Gets a value indicating whether optimizations that depend on internal BigInteger structure are enabled.
Declaration
public static bool OptimizationsEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Optimizations for this version of the library are enabled as long as the .NET runtime version is less than or equal to .NET 7.x and the BigInteger field structure matches what is expected for the current runtime. A warning is emitted to the debug console and optimizations are disabled if this library runs on newer runtimes to prevent incorrect behavior if the implementation of BigInteger changes. A new version of the library will be released with each major .NET release to safely enable optimizations on newer runtimes.