Re:Ox is a fast text editor, written in Rust, that runs in y...
by alkonaut on Tuesday November 03, 2020 @02:22AM
(#24977255)
Most would happily trade an editor that is 100x slower for gigabyte single-line text for one that is 10% faster on gigabyte multi line text.
[ Parent
| on HN ]
Re:Ox is a fast text editor, written in Rust, that runs in y...
by weinzierl on Tuesday November 03, 2020 @03:02AM
(#24977461)
I rarely open gigabyte single-line files, but when I do, I don't want to switch editor.
Most of the time I only realize that everything is on a single line after opening the file.
A good editor doesn't require me to think about these things.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by alkonaut on Tuesday November 03, 2020 @03:32AM
(#24977639)
Sure. I'd not be able to actually do anything useful with a gigabyte single-line file so what I'd want my editor to do is say "Longest line is over 100k characters, truncating display to the first 100k".
Re:Ox is a fast text editor, written in Rust, that runs in y...
by makapuf on Tuesday November 03, 2020 @03:42AM
(#24977697)
issue is that the editor can't tell if it's a multiline file with a first big line or an editor with one big line if it's cut at the first line. But I'd rather have the editor bail at the first 100k line than not opening it.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by ajuc on Tuesday November 03, 2020 @03:27AM
(#24977614)
If it's over 1 GB and single line you're almost always going to exit the editor, run some scripts on it, and open it again when it's correctly formatted.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by levosmetalo on Tuesday November 03, 2020 @07:57AM
(#24979195)
I would rather open it in editor, strike a "reformat all" shortcut, and have the file right there.
I don't want to chase separate tools that can format different text files, that's what editors are for.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by nicoburns on Tuesday November 03, 2020 @12:53PM
(#24982041)
It's still annoying if your editor hangs and you have to find some way to kill it before your computer becomes usable again.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by platinumrad on Tuesday November 03, 2020 @05:28AM
(#24978254)
Sure, but this one isn't 10% faster on gigabyte multiline text. Others in this thread are testing wrapped text and Ox still chokes.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by Cthulhu_ on Tuesday November 03, 2020 @03:01AM
(#24977460)
99% of files I work with are <1000 lines, so I don't mind. For larger files I will fall back to Vim.
The important thing to realize is that text editor performance is less about the technology used and more about the data structures and i/o.
Re:Ox is a fast text editor, written in Rust, that runs in y...
by tastyminerals2 on Tuesday November 03, 2020 @06:21AM
(#24978585)
This is not an excuse for an editor being claimed "fast". Textadept is written in C and is also very fast but has the exact same issue -- choking on huge files when Vim and others are able to handle it.