• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextView very slow, any remedies?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView very slow, any remedies?


  • Subject: NSTextView very slow, any remedies?
  • From: Michael Domino <email@hidden>
  • Date: Thu, 26 Feb 2009 14:04:37 -0500

Hi all,

I use an NSTextView to display UTF-32 text. For small files, it's just great, but when the buffer gets up towards 500K is slows down a lot, to the point where users think it's crashed (it does not). NSTextView solves my entire problem except for the slowness. Does anyone have any suggestions? I have thought about reducing the text to UTF-16 which would of course cut the buffer size in half, since I have never actually seen the upper word of the wchar_t ever to be anything but 0. Is that a naive solution?

Thanks for your advice.

Michael Domino
email@hidden



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: One IBAction, multiple results from multiple methods
  • Next by Date: Re: NSLayoutManager for NSTextField (was Re: Metrics for a NSTextField)
  • Previous by thread: Re: Compile errors
  • Next by thread: Re: NSTextView very slow, any remedies?
  • Index(es):
    • Date
    • Thread