carlossanlop on 3.1
Merge in 'release/3.1' changes Merge in 'release/3.1' changes Forbid XML external entity reso… and 3 more (compare)
dotnet-bot on v3.1.28
Merge in 'release/3.1' changes Merge in 'release/3.1' changes Forbid XML external entity reso… and 1 more (compare)
ViktorHofer on 3.1
Update branding to 3.1.29 (#431… (compare)
Can someone please explain what things you guys take into consideration when deciding whether to use
It's used very often in methods that are extremely small and I'd expect the JIT to inline them always but I'm guessing that there are cases where this wouldn't happen without this attribute? perhaps if its called many times in a single method?
I have a method whos code size in IL is 34 bytes that is getting inlined but another simliar one that isnt getting inlined and its IL code size is 30 bytes. So far my conclusion seems to be the JIT is dumb and I should use this attribute in most cases where I want performance.
I need an expert to shime in and please correct me if I'm wrong.
JIT takes a lot more into consideration than just code size
@HaloFour Clearly, that's why I asked when AggressiveInlining should be used.
i'd definitely say jit is very smart
Doesnt seem very smart:
Reset1()method doesnt use anything that is listed in the article given by @jspuij which would 100% prevent the JIT from inlining it.
When I try .Net6 it does not like below, ApplyHighDpiModeEventArgs and ApplyHighDpiMode are not found
Private Sub MyApplication_ApplyHighDpiMode(sender As Object, e As My.ApplyHighDpiModeEventArgs) Handles Me.ApplyHighDpiMode e.HighDpiMode = HighDpiMode.PerMonitorV2 End Sub
I don't see anything about WinForms in the what's new or any breaking changes
AA\((.+?)\)to get the text inside the parenthesis after AA in
AA()-AB(text2)then the regex matches the whole string and i get
)-AB(text2extracted out. how can i get an empty result if there is no text in the parenthesis after AA?