|
|
|
|
|
by arghwhat
149 days ago
|
|
I wouldn't consider implementing a B-tree in C any more "arduous" than implementing any other notable container/algorithm in C, nor would making a library be "brutal" as moving data really isn't an issue. Libraries are available if you need them. Quite frankly, writing the same in Rust seems far, far more "arduous", and you'd only realistically be writing something using BTreeMap because someone else did the work for you. However, being right there in std makes use much easier than searching around for an equivalent library to pull into your C codebase. That's the benefit. |
|