03 2010 档案

 
Silverlight Application Security Model
摘要:Silverlight code has three security levels: Transparent, SafeCritical, and Critical. Transparent code is code that cannot elevate the permissions of the call stack. This means that Transparent code can only run with the same permission level as its caller. All application code is Transparent code. . 阅读全文
posted @ 2010-03-22 13:39 做个不善的人 阅读(313) 评论(0) 推荐(0) 编辑
How slow is dynamic_cast?
摘要:C++ users are advised frequently not to use dynamic_cast, because it's slow. I thought it would be nice to measure this, so I made up a test on Visual C++. All you need is a simple hierarchy of types with a baseclass, a derived class, and another class derived from that. The test is this: if you 阅读全文
posted @ 2010-03-08 13:05 做个不善的人 阅读(378) 评论(0) 推荐(0) 编辑

 

点击右上角即可分享
微信分享提示