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
michael.dom...@identityfinder.com



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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to