Ask HN: What justify this 149bytes difference? [text editor related]

https://news.ycombinator.com/item?id=3843966
by aolczak • 14 years ago
1 4 14 years ago

http://cl.ly/3P302w3e3A2p3D261U0H/o

Assuming: - a single char takes 1 byte. - a linked list takes about 5 bytes/char. - a double linked list takes about 9 bytes/char.

1. Why is "Plain Text" format so low on memory. Is it using an array as storage?

2. Why is "Rich Format" so heavy?

Insight, details answers, and links welcome.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com