Have you tried running a benchmark? Try each 100k times and see what the timing differences are?
>From looking at the Rotor code, it looks like they're both basically >implemented in the same terms; that is, they both end up consulting the >object's MethodTable to see if there's correlation and/or goodness. Assuming >the CLR itself isn't too terribly different from Rotor on this score, you can >see the gory details in sscli\clr\src\vm\jitinterface.cpp; do a search for >"IsInst" and "ChkClass", as there are a couple of helpers that get invoked >during the process. Ted Neward Co-Author, SSCLI Essentials http://www.neward.net/ted ---------- Original Message ---------------------------------- From: Palmer Fred <[EMAIL PROTECTED]> Reply-To: "Unmoderated discussion of advanced .NET topics." =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
