Hi there,
Since we should not add new container data structures into the standard library, but the Red-Black tree is quite useful in some scenarios, so I put it on Github,
PR is welcome:)
I'v made a simple test for inserting and deleting 1,000.000 integers and record the time it cost, seems quite good
Rbtree:1000000
Befor Insert:2015-06-03 05:36:38.202131403 +0800 CST
After Insert:2015-06-03 05:36:40.3821364 +0800 CST
After delete:2015-06-03 05:36:41.586501826 +0800 CST
time2 - time1:2.180004997
time3 - time2:1.204365426