Insert and Remove Performance of Boost’s flat_set v.s. std::set

R-bloggers 2014-01-16

Summary:

The standard way to represent an ordered set of numbers is with a binary tree. This offers a good mix of performance properties as the number of elements gets large. In particular it offers O(log(n)) operations insertion/deletion, O(log(n)) operations to find an element. Finding the ith element of the set takes more time, O(n) operations [...]

Link:

http://feedproxy.google.com/~r/RBloggers/~3/bBNnAIR3N4M/

From feeds:

Statistics and Visualization » R-bloggers

Tags:

r bloggers

Authors:

Ian

Date tagged:

01/16/2014, 23:10

Date published:

01/16/2014, 19:39