| ▲ | dwdz 2 days ago | |||||||||||||||||||||||||||||||
It seems like Qt went from red-black tree to skip list in Qt4 and back to red-black tree in Qt5. | ||||||||||||||||||||||||||||||||
| ▲ | torginus 2 days ago | parent [-] | |||||||||||||||||||||||||||||||
yeah it turns out that complex code, when its properly encapsulated and implemented in a bug-free manner, is not such a cost after all. A correct skiplist is easier to NIH than a correct red-black tree (which for me was the final boss of the DS class in college), but has performance edge cases a red-black tree doesnt, if you treat it like a search tree. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||