|
|
|
|
|
by userbinator
390 days ago
|
|
The core data structure (array of lines) just isn't that well suited to more complex operations. Modern CPUs can read and write memory at dozens of gigabytes per second. Even when CPUs were 3 orders of magnitude slower, text editors using a single array were widely used. Unless you introduce some accidentally-quadratic or worse algorithm in your operations, I don't think complex datastructures are necessary in this application. |
|