Click here to Skip to main content
15,564,312 members
Home / Discussions / C#
   

C#

 
GeneralRe: Something basic Pin
carbon_golem29-Apr-08 9:06
carbon_golem29-Apr-08 9:06 
GeneralRe: Something basic Pin
Spykraft29-Apr-08 13:11
Spykraft29-Apr-08 13:11 
GeneralRe: Something basic Pin
carbon_golem29-Apr-08 17:59
carbon_golem29-Apr-08 17:59 
GeneralRe: Something basic Pin
PIEBALDconsult29-Apr-08 10:31
professionalPIEBALDconsult29-Apr-08 10:31 
GeneralDatagridview and keyenter Pin
Canann29-Apr-08 5:43
Canann29-Apr-08 5:43 
QuestionRe: Datagridview and keyenter Pin
Canann30-Apr-08 3:51
Canann30-Apr-08 3:51 
QuestionHow to generate Typed DataSet with CodeDom ? Pin
hdv21229-Apr-08 4:03
hdv21229-Apr-08 4:03 
Generalanti-pattern in GC Pin
George_George29-Apr-08 3:59
George_George29-Apr-08 3:59 
Hello everyone,


I am learning from "Garbage Collector Basics and Performance Hints",

http://msdn2.microsoft.com/en-us/library/ms973837.aspx

Two questions,

1. In the pattern "Too Many Pointers", what means "they merely "slide" together to remove the wasted space"?

2. In the pattern "Too Many Object Writes", I do not quite understand the emunerator and collector pattern, could anyone provide some brief pseudo code please?

--------------------
If you are, for instance, doing simple operations in some kind of enumerator class, you might find that you need to move some of your key pointers from the main collection into the enumerator at every step. This is actually something you might want to avoid, because you effectively double the cost of copying those pointers around due to the write barrier and you might have to do it one or more times per loop on the enumerator.
--------------------


thanks in advance,
George
GeneralRe: anti-pattern in GC Pin
Colin Angus Mackay29-Apr-08 5:03
Colin Angus Mackay29-Apr-08 5:03 
GeneralRe: anti-pattern in GC Pin
George_George29-Apr-08 5:26
George_George29-Apr-08 5:26 
GeneralRe: anti-pattern in GC Pin
led mike29-Apr-08 5:53
led mike29-Apr-08 5:53 
GeneralRe: anti-pattern in GC Pin
George_George29-Apr-08 5:59
George_George29-Apr-08 5:59 
GeneralRe: anti-pattern in GC Pin
led mike29-Apr-08 6:40
led mike29-Apr-08 6:40 
GeneralRe: anti-pattern in GC Pin
George_George29-Apr-08 21:41
George_George29-Apr-08 21:41 
GeneralRe: anti-pattern in GC Pin
led mike30-Apr-08 5:50
led mike30-Apr-08 5:50 
GeneralRe: anti-pattern in GC Pin
George_George30-Apr-08 23:06
George_George30-Apr-08 23:06 
GeneralRe: anti-pattern in GC Pin
led mike1-May-08 7:18
led mike1-May-08 7:18 
GeneralRe: anti-pattern in GC Pin
George_George1-May-08 22:47
George_George1-May-08 22:47 
Generalinserting string into string Pin
stephan_00729-Apr-08 3:59
stephan_00729-Apr-08 3:59 
GeneralRe: inserting string into string Pin
carbon_golem29-Apr-08 4:58
carbon_golem29-Apr-08 4:58 
GeneralRe: inserting string into string Pin
carbon_golem29-Apr-08 4:59
carbon_golem29-Apr-08 4:59 
QuestionC# TextBox with forward slash Pin
WaleedH29-Apr-08 3:52
WaleedH29-Apr-08 3:52 
GeneralRe: C# TextBox with forward slash Pin
Bert delaVega29-Apr-08 5:00
Bert delaVega29-Apr-08 5:00 
GeneralRe: C# TextBox with forward slash [modified] Pin
WaleedH1-May-08 2:52
WaleedH1-May-08 2:52 
QuestionThe best overload method match system.IComparable has invalid arguments Pin
ADTC#29-Apr-08 3:15
ADTC#29-Apr-08 3:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.