Skip to content

Instantly share code, notes, and snippets.

@StevenBlack
Created January 25, 2022 05:50
Show Gist options
  • Select an option

  • Save StevenBlack/d6966c93db73d6e8dc6551d02f83b402 to your computer and use it in GitHub Desktop.

Select an option

Save StevenBlack/d6966c93db73d6e8dc6551d02f83b402 to your computer and use it in GitHub Desktop.

Revisions

  1. StevenBlack revised this gist Jan 25, 2022. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion elapsed.rs
    Original file line number Diff line number Diff line change
    @@ -1 +1,6 @@
    ‎‎​
    use std::time::Instant;
    let start = Instant::now();

    let mut lines: Vec<String> = self.raw_list.clone();

    println!("clone {}", start.elapsed().as_millis());
  2. StevenBlack created this gist Jan 25, 2022.
    1 change: 1 addition & 0 deletions elapsed.rs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ‎‎​