Beruflich Dokumente
Kultur Dokumente
Performance
Sridhar Madhugiri
Principal Development Engineer
3-308
Motivation
Data
Transformation
Data Copy
Logic
Application
Type Conversion
Data
Transformation
Data Copy
t
Outpu
Guidelines
Duplication overhead
! Allocation | Copy | Memory usage
String demo
Guidelines
Element access
! Virtual call across boundary | Out of bounds check
Use ReplaceAll
Use GetMany
4. Who are you calling?
Casts
Implicit Cast
Invoking member on non-default interface
Invoking member of an interface required by I
Function arguments
Cast is QueryInterface
! Virtual call | Interlocked operation
Cast demo
Guidelines
R^ is equivalent to shared_ptr<N>
this for ref class is equivalent to shared_ptr<N>
Overhead similar to using shared_ptr<N>
Guidelines
3-158 Dramatically
Increase Performance when Users Interact with Large Amounts of Data in Grid
View and
ListView
Chipalo Street
Sridhar Madhugiri
sridmad at Microsoft dot com
Evaluate this session
Scan this QR
code to evaluate
this session and
be automatically
entered in a
drawing to win a
prize!
2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be
interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR
STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.