Re: Memory optimization of NSAttributedString

2015-03-25 Thread Charles Jenkins
Thank you, Aki. It’s such an awesome and unexpected feature, I found it hard to believe my test results. --  Charles On March 23, 2015 at 16:54:11, Aki Inoue (a...@apple.com) wrote: Hi Charles Yes, NSAttributedString does unique attribute dictionaries. Aki > On Mar 22, 2015, at 5:39

Re: Memory optimization of NSAttributedString

2015-03-23 Thread Aki Inoue
Hi Charles Yes, NSAttributedString does unique attribute dictionaries. Aki > On Mar 22, 2015, at 5:39 AM, Charles Jenkins wrote: > > My app uses lots of attributed strings in “subdocuments” which get moved into > and out of a text edit window. > > I began to wonder if I needed to add a cache