• 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
Re: NSTextView/Storage Fast deletion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView/Storage Fast deletion?


  • Subject: Re: NSTextView/Storage Fast deletion?
  • From: Max Horn <email@hidden>
  • Date: Sun, 18 Nov 2001 13:59:26 +0100

Terminal.app uses its own special subclass of NSView, not NSTextView.

You are cutting arbitrary charachters, and NSTextView is a general class, these two things cause your problems.

I.e. when you remove the chars, the view has to complelty recalculate the layout of all chars, causing a major performance loss. Also, most terminals are happy with monospaced ("fixed") fonts, while NSTextView has to be general enough to deal with all fonts.


You might want to do the same and write your own special NSView for optimal speed.

Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:email@hidden>
phone: (+49) 6151-494890


References: 
 >NSTextView/Storage Fast deletion? (From: Brian Chapeau <email@hidden>)

  • Prev by Date: Re: Standard OS X Compression format
  • Next by Date: DPSTimedEntry
  • Previous by thread: NSTextView/Storage Fast deletion?
  • Next by thread: DPSTimedEntry
  • Index(es):
    • Date
    • Thread