4 ms·
Even though I kind of mostly agree that you almost never should implement your own rb tree, this advice is also kind of disempowering and I worry that it is par
by norir 3y ago
Even though I kind of mostly agree that you almost never should implement your own rb tree, this advice is also kind of disempowering and I worry that it is part of a mindset that accepts the status quo when it is so often the case that we could have better things if we just got our hands a little dirty.
- tombert 3y agoI think better verbiage might be "99% of the time you probably don't want to write one of these from scratch...at least not for production".
- Dylan16807 3y agoIf you want to reinvent a wheel, you had better be expecting and willing to spend significant time on your new wheel. It's not just getting your hands dirty, you need to be strategic about where you want to spend your time.