[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string immutability
- From: Scott Morgan <blumf@...>
- Date: Thu, 02 Jan 2014 10:29:50 +0000
On 02/01/14 08:57, Thijs Schreijer wrote:
> I'm writing some code that might potentially handle very large
> strings. To write this properly/efficient I have a question on string
> immutability.
You might want to look at the 'rope' patten.
http://en.wikipedia.org/wiki/Rope_%28computer_science%29
http://lua-users.org/wiki/LuaRopes
Scott