.net 4.5 and inlining method/function?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

spirch
Posts: 95
Joined: Fri Nov 09, 2012 12:36 am

.net 4.5 and inlining method/function?

Post by spirch »

while doing some search I spotted this;

MethodImplOptions.AggressiveInlining

seem to be .net 4.5 only

anyone with visual studio 2012 installed could quickly try this and see if there is any improvement? 8-)
bpfliegel
Posts: 71
Joined: Fri Mar 16, 2012 10:16 am

Re: .net 4.5 and inlining method/function?

Post by bpfliegel »

.Net 4.5 only.
There are cases when it helps, highly depends on what the case actually is. Some cases I managed to mess up performance with it, careful.

Balint