#cmp #testing #numbers #instrumented #drop #partial #eq

bin+lib instrumented-stepanov

InstrumentedBase is collecting data about number of new, clone, drop, eq, partial cmp and cmp from Instrumented instates

4 releases (stable)

1.1.2 Aug 27, 2019
1.1.1 May 4, 2019
1.0.0 Apr 27, 2019
0.1.0 Feb 11, 2019

#4 in #instrumented

Apache-2.0

8KB
178 lines

instrumented-stepanov

InstrumentedBase is collecting data about number of new, clone, drop, eq, partial cmp and cmp from Instrumented instates.

Example

let n = count_operations(vec![2, 1, 3, 4], |x| x.sort());
println!("{:?}", n);

Attempt to do Efficient Programming with Components: Lecture 3 Part 1 and Efficient Programming with Components: Lecture 3 Part 2 from C++ to Rust.

Dependencies

~3.5–4.5MB
~61K SLoC