Microsoft MVP성태의 닷넷 이야기
x64 : 2. dynamic_cast is slow in x64 [링크 복사], [링크+제목 복사],
조회: 12770
글쓴 사람
정성태 (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/200612343.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
449정성태9/28/200613153TFS : 37. Team Foundation Server and Basic Authentication
448정성태9/28/200612604TFS : 36. Moving the Team Foundation Server Data Warehouse to a Separate Server
447정성태10/20/200612755Vista : 10. ASLR이 적용된 Vista
446정성태9/26/200612497개발환경 구성 : 31. Profiling Tool for .NET Developers
445정성태10/20/200612204Windows 2008 : 2. LHS Feature Of The Week #2 - Remote Differential Compression
444정성태10/20/200612760Windows 2008 : 1. LHS Feature Of The Week #1 - Transactional NTFS
443정성태9/23/200612738개발환경 구성 : 30. Tip/Trick: Optimizing ASP.NET 2.0 Web Project Build Performance with VS 2005
442정성태9/28/200614329TFS : 35. 설치 설명서 / 관리자 가이드 도움말 업데이트
441정성태9/21/200614839개발환경 구성 : 29. SQL Server Spec 비교
440정성태10/20/200614073.NET 3.0 : 3. WCF Workshops updated to Release Candidate 1
439정성태9/20/200614368개발환경 구성 : 28. Caml Viewer 2007 : released on Codeplex
438정성태9/20/200612944개발환경 구성 : 27. Enterprise Smart Card Deployment in the Microsoft® Windows® Smart Card Framework
437정성태9/19/200613000TFS : 34. Getting Started with TFS Integrator 파일 다운로드2
434정성태9/20/200613612개발환경 구성 : 26. Developing Web Applications on Windows Vista with Visual Studio 2005
433정성태10/20/200613186Vista : 9. Next Generation TCP/IP Stack
432정성태9/16/200613152TFS : 33. Now Available: Teamprise V2 Preview 2
431정성태9/16/200612794개발환경 구성 : 25. Announcing the Web Client Software Factory
430정성태9/15/200613177.NET : 15. ASP.NET 2.0 - A Preview of Web LINQ - BLINQ
429정성태9/15/200612687The True Cost of .NET Exceptions
428정성태9/15/200614530.NET : 14. IronPython 예제들
427정성태9/14/200614099개발환경 구성 : 24. Smart Start and Stop Service in VS.NET Build
426정성태9/13/200613647TFS : 32. Team Foundation Server Language Change Package
425정성태9/12/200613378TFS : 31. Team Foundation Administrator's Guide (TFSAdmin.chm)
424정성태9/12/200614127Visual C++ : 2. Managed Debugger Expression Evaluator - mcee_mc.dat
422정성태9/8/200614163.NET : 13. An Introduction to LINQ
... 16  17  18  19  20  21  22  23  24  25  26  27  28  29  [30]  ...