Ray's playground

 

07 2011 档案

Primitive, Reference, and Value Types(Chapter 5 of CLR via C#)
摘要:You need to bear in mind some performance considerations when you’re working with reference types . First, consider these facts: The memory must be allocated from the managed heap . Each object allocated on the heap has some additional overhead members associatedwith it that must be initialized . T. 阅读全文

posted @ 2011-07-31 15:22 Ray Z 阅读(319) 评论(0) 推荐(0)

Type Fundamentals(Chapter 4 of CLR via C#)
摘要:Allobjects on the heap contain two overhead members: the type object pointer and the syncblock index. 阅读全文

posted @ 2011-07-29 23:47 Ray Z 阅读(156) 评论(0) 推荐(0)

导航