News for hackers. Stuff that matters.
Re:The Most Expensive One-byte Mistake (2011) by TheLoneWolfling on Friday April 11, 2014 @06:57PM (#7576089)
The length of each node is not the same; each character within a node is the same number of bytes long.

So you end up with one node in the rope that has one logical character - that is some absurd number of bytes long. (In reality there'd be a maximum of 2^8-1 or 2^16-1 or something bytes per character)

There are no comments on this comment yet.