[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Looks like jit does not respect the System.IgnoreOverflow flag when generating code
[Thread Prev] | [Thread Next]
- Subject: Re: Looks like jit does not respect the System.IgnoreOverflow flag when generating code
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 14 Oct 2025 09:34:54 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 14/10/2025 à 01:10, Brian G a écrit :
When making a function fast, the jit compiler does not respect the ignore overflow flag.Is this deliberate or is there some other way to do this when making a functions fast
It cannot, because 'System.Overflow' is dynamic, whereas the JIT compilation is static.
Only the 'UNSAFE' keyword tells the JIT compiler not to do overflow checks. Regards, -- Benoît Minisini.
| Looks like jit does not respect the System.IgnoreOverflow flag when generating code | Brian G <brian@xxxxxxxxxxxxxxxx> |