title: Should I care about optimizing my code which is writing into the mobile device memory?
body: <p>Lets take a Swift and iPhone example:</p>
  
  <p>NSUserDefaults.standardUserDefaults().setObject(objects, forKey: "key")
  NSUserDefaults.standardUserDefaults().synchronize()</p>
  
  <p>There are some circumstances where an instant write is desired.</p>
  
  <p>Theoretically how many times could I run this code in an app until it ruins some of the memory for good?</p>
  
  <p>Lets say I have this code running 10 times in my app per run.
  Lets say the app is used 3 times per day.</p>
  
  <p>Is this a question to consider during app creation or coding?</p>
  
  <p>In other words should we care about NAND P/E metrics for the present devices? </p>