[Freeswitch-users] mod managed [SuppressUnmanagedCodeSecurity] substantial performance

Andre andretodd at verizon.net
Wed Nov 6 20:02:43 MSK 2013


HI, I noticed on the mod managed wrapper that
[SuppressUnmanagedCodeSecurity] is not added to the classes. Per Microsoft
adding this will give substantial performance.

 

Is there any reason why it's not added and is it possible to have it added
to the official Freeswitch project?

 

 

This attribute can be applied to methods that want to call into native code
without incurring the performance loss of a run-time security check when
doing so. The stack walk performed when calling unmanaged code is omitted at
run time, resulting in substantial performance savings. Using this attribute
in a class applies it to all contained methods.

 

Thanks

Andre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131106/61190a53/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list