News for hackers. Stuff that matters.
Re:Translations of Russ Cox's Thompson NFA C Program to Rust by ernst_klim on Friday November 03, 2023 @08:55AM (#38127990)
You don't have to use an array based on realloc. You can use a vector based on linked list of memory pages, or linked list if you need deletion (or gap buffer or any other data structure depends on your needs).
Re:Translations of Russ Cox's Thompson NFA C Program to Rust by yakubin on Friday November 03, 2023 @10:39AM (#38129501)
And at that point you’re slower.