#159 open

[todo] NSTextStorage and mutable strings with more control

Reported by rsms | January 7th, 2011 @ 12:44 AM

There're an increasing number of tasks in Kod which suffers or will suffer from practically unnecessary copying of data back and forth. Also, the NSTextStorage implementation uses expensive kernel-calling locks to employ synchronized access to shared memory.

We should (I hate to say it) roll our own NSTextStorage at the least.

Maybe even get inspired by WebKit and provide a high performance internal buffer interface for large chunks of data: http://svn.webkit.org/repository/webkit/trunk/WebCore/platform/mac/PurgeableBufferMac.cpp and http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/vm_allocate.html

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket