Better HN
topnewbestaskshowjobs
Log inSign up

larshagencpp

9 karma · joined Apr 24, 2016 (10y ago) · 4 submissions

Submissions

comment 10y ago · link · parent

Changed to "high performance" :) I don't have a strong opinion myself, as english is not my primary language, but I appreciate the input.

comment 10y ago · link · parent

This is the reason that the problem was simplified to using vector<pair<int,int>> for all the experiments, so no difference in data size.

comment 10y ago · link · parent

Yes, but the incrmental sorting problem requires that the k elements are not only sorted, but are the k first elements of the whole sequence of length N.

comment 10y ago · link · parent

How would you use an RB tree to do incremental sorting? Wouldn't you have to insert all the elements into the tree up-front? That would certainly be slower, but maybe you mean something different.