diffmatchpatch 0.0.4

Rewrite of diff-match-patch in Rust
Documentation
use std::time::Instant;

use diffmatchpatch::prelude::*;

fn main() {
    let text1 = include_str!("../benches/speedtest1.txt");
    let text2 = include_str!("../benches/speedtest2.txt");

    let now = Instant::now();
    let diffs = diff_main(text1, text2);
    println!("diff_main: {}ms", now.elapsed().as_millis());
    println!("diffs {}", diffs.len());
    println!("{diffs:#?}");

    let _text1 = text1.to_chars();
    let _text2 = text2.to_chars();

    //dmp.diff_cleanup_semantic(&mut diffs);
    //    dmp.diff_cleanup_semantic(&mut diffs);

    // println!("{}", dmp.diff_to_delta(&diffs));
    //println!("{:?}", diffs);
}