Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Mac OS X's Preferences System (and More!)
Subject:   Leap of faith?
Date:   2001-09-01 15:22:00
From:   mikebeam
Response to: Leap of faith?

Hey,


That string being created statically using @"..." rather than the convenience constructor was probably just a slip-up when i was writing that part. In any event, either one works, they just work in different ways. Practically speaking, you're probably not increasing your performance/efficiency/whatever mush by using the convenience constructor, since its just one string. Its when you repeatedly create/destroy objects that you _really_ need to watch out for mem management issues. I did it that way just to point out another situation of how you can work memory management. Well, i'm off to see UT play New Mexico. I'm glad you're enjoying the columns!!


Mike

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Leap of faith?
    2001-09-01 19:07:43  TheBum [View]

    Thanks, Mike. Now I know that I just didn't miss something. Hook 'em Horns! (I'm a K-State grad, but I pull for Big 12 teams whenever they're not playing mine).