News for hackers. Stuff that matters.
Re:All Algorithms Implemented in Rust by yazaddaruvala on Sunday August 21, 2022 @10:49PM (#32546757)
I’m very surprised that the rbtree needs to be unsafe at all.

It feels like a very early attempt. Skip the parent pointers and use Option rather than raw null pointers. Should get rid of the unsafe.

There are no comments on this comment yet.