Microsoft MVP성태의 닷넷 이야기
x64 : 2. dynamic_cast is slow in x64 [링크 복사], [링크+제목 복사],
조회: 10152
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

dynamic_cast is slow in x64
; http://blogs.msdn.com/junfeng/archive/2006/10/17/dynamic-cast-is-slow-in-x64.aspx

Avoid dynamic_cast in 64-bit code
; http://windowshpc.net/blogs/dev_gen/archive/2006/10/17/647.aspx

그러고 보니... 정말 그 문제가 있었군요.

함수에 대한 포인터는 여전히 32bit 죠. 하위 호환을 유지하기 위해 그런식으로 처리를 했는데, 뜻하지 않게 dynamic_cast 에서 어려움이 발생하는 군요.

변위값 지정이라는 것에 대해서는 다음의 토픽을 참고하십시오.

64bit 주소 지정이 아닌 32bit 변위값 지정
; https://www.sysnet.pe.kr/Default.aspx?mode=2&sub=1&pageno=0&detail=1&wid=399&wtype=17

dynamic_cast 는 런타임시에 지정되는 함수 포인터이니만큼.

그래도, 특별히 속도를 요하는 루프 안에서 dynamic_cast 를 하지 않는다면 큰 문제는 없을 테지만... 일단은 인지하시고 계시면 좋겠지요. ^^








[최초 등록일: ]
[최종 수정일: 10/19/2006]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...
NoWriterDateCnt.TitleFile(s)
450정성태9/28/20069604.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
449정성태9/28/200610513TFS : 37. Team Foundation Server and Basic Authentication
448정성태9/28/200610068TFS : 36. Moving the Team Foundation Server Data Warehouse to a Separate Server
447정성태10/20/200610207Vista : 10. ASLR이 적용된 Vista
446정성태9/26/20069996개발환경 구성 : 31. Profiling Tool for .NET Developers
445정성태10/20/20069648Windows 2008 : 2. LHS Feature Of The Week #2 - Remote Differential Compression
444정성태10/20/200610214Windows 2008 : 1. LHS Feature Of The Week #1 - Transactional NTFS
443정성태9/23/200610112개발환경 구성 : 30. Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
442정성태9/28/200610669TFS : 35. 설치 설명서 / 관리자 가이드 도움말 업데이트
441정성태9/21/200611155개발환경 구성 : 29. SQL Server Spec 비교
440정성태10/20/200610547.NET 3.0 : 3. WCF Workshops updated to Release Candidate 1
439정성태9/20/200610557개발환경 구성 : 28. Caml Viewer 2007 : released on Codeplex
438정성태9/20/200610312개발환경 구성 : 27. Enterprise Smart Card Deployment in the Microsoft® Windows® Smart Card Framework
437정성태9/19/200610253TFS : 34. Getting Started with TFS Integrator 파일 다운로드2
434정성태9/20/200610969개발환경 구성 : 26. Developing Web Applications on Windows Vista with Visual Studio 2005
433정성태10/20/200610420Vista : 9. Next Generation TCP/IP Stack
432정성태9/16/200610287TFS : 33. Now Available: Teamprise V2 Preview 2
431정성태9/16/20069942개발환경 구성 : 25. Announcing the Web Client Software Factory
430정성태9/15/200610288.NET : 15. ASP.NET 2.0 - A Preview of Web LINQ - BLINQ
429정성태9/15/20069869The True Cost of .NET Exceptions
428정성태9/15/200611651.NET : 14. IronPython 예제들
427정성태9/14/200611153개발환경 구성 : 24. Smart Start and Stop Service in VS.NET Build
426정성태9/13/200610578TFS : 32. Team Foundation Server Language Change Package
425정성태9/12/200610414TFS : 31. Team Foundation Administrator's Guide (TFSAdmin.chm)
424정성태9/12/200611082Visual C++ : 2. Managed Debugger Expression Evaluator - mcee_mc.dat
422정성태9/8/200610996.NET : 13. An Introduction to LINQ
... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...