Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to find if a particular file is loaded by processes Pin
PIEBALDconsult29-Apr-08 13:47
mvePIEBALDconsult29-Apr-08 13:47 
GeneralRe: How to find if a particular file is loaded by processes Pin
Mushtaque Nizamani29-Apr-08 13:56
Mushtaque Nizamani29-Apr-08 13:56 
GeneralLAN TicTacToe Pin
Member 365210629-Apr-08 8:23
Member 365210629-Apr-08 8:23 
GeneralRe: LAN TicTacToe Pin
carbon_golem29-Apr-08 8:43
carbon_golem29-Apr-08 8:43 
GeneralAdvice on Matching data Pin
MumbleB29-Apr-08 8:19
MumbleB29-Apr-08 8:19 
GeneralRe: Advice on Matching data Pin
Jimmanuel29-Apr-08 9:38
Jimmanuel29-Apr-08 9:38 
GeneralRadGrid, DataTable And Caption Problem Pin
KlimUser29-Apr-08 7:52
KlimUser29-Apr-08 7:52 
GeneralRe: RadGrid, DataTable And Caption Problem Pin
Bert delaVega29-Apr-08 8:17
Bert delaVega29-Apr-08 8:17 
GeneralRe: RadGrid, DataTable And Caption Problem Pin
KlimUser29-Apr-08 10:47
KlimUser29-Apr-08 10:47 
GeneralSomething basic Pin
Spykraft29-Apr-08 7:13
Spykraft29-Apr-08 7:13 
GeneralRe: Something basic Pin
PIEBALDconsult29-Apr-08 7:24
mvePIEBALDconsult29-Apr-08 7:24 
GeneralRe: Something basic Pin
carbon_golem29-Apr-08 7:28
carbon_golem29-Apr-08 7:28 
GeneralRe: Something basic Pin
PIEBALDconsult29-Apr-08 12:11
mvePIEBALDconsult29-Apr-08 12:11 
GeneralRe: Something basic Pin
Spykraft29-Apr-08 7:38
Spykraft29-Apr-08 7:38 
GeneralRe: Something basic Pin
carbon_golem29-Apr-08 8:06
carbon_golem29-Apr-08 8:06 
GeneralRe: Something basic Pin
Spykraft29-Apr-08 12:11
Spykraft29-Apr-08 12:11 
GeneralRe: Something basic Pin
carbon_golem29-Apr-08 16:59
carbon_golem29-Apr-08 16:59 
GeneralRe: Something basic Pin
PIEBALDconsult29-Apr-08 9:31
mvePIEBALDconsult29-Apr-08 9:31 
GeneralDatagridview and keyenter Pin
Canann29-Apr-08 4:43
Canann29-Apr-08 4:43 
QuestionRe: Datagridview and keyenter Pin
Canann30-Apr-08 2:51
Canann30-Apr-08 2:51 
QuestionHow to generate Typed DataSet with CodeDom ? Pin
hdv21229-Apr-08 3:03
hdv21229-Apr-08 3:03 
Generalanti-pattern in GC Pin
George_George29-Apr-08 2:59
George_George29-Apr-08 2:59 
GeneralRe: anti-pattern in GC Pin
Colin Angus Mackay29-Apr-08 4:03
Colin Angus Mackay29-Apr-08 4:03 
GeneralRe: anti-pattern in GC Pin
George_George29-Apr-08 4:26
George_George29-Apr-08 4:26 
GeneralRe: anti-pattern in GC Pin
led mike29-Apr-08 4:53
led mike29-Apr-08 4:53 
George_George wrote:
could anyone provide some brief pseudo code please?


The "for instance" is just talking about copying a reference from the collection into an enumerator of the collection as a method of implementing an enumerator. Anytime you copy a reference the GC system has to track it so it comes at an expense. There isn't much you can do in a GC environment that doesn't come at an expense.

These two reasons are of course complemented by the usual reasons for not doing too many writes in any kind of program. All things being equal, it's better to touch less of your memory (read or write, in fact)


led mike

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.