This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "win_canonicalize_bug" | |
version = "1.0.0" | |
[dependencies] | |
libc = "*" | |
kernel32-sys = "0.1.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
############################################################################## | |
# Copyright 2002-2013 LAMP/EPFL | |
# | |
# This is free software; see the distribution for copying conditions. | |
# There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A | |
# PARTICULAR PURPOSE. | |
############################################################################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io; | |
//#[macro_use] extern crate text_io; | |
#[derive(Clone)] | |
struct Node { | |
children: Vec<usize> | |
} | |
impl Node { | |
fn new() -> Node { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linux i5-6200U @ 2.3GH | |
------------------- | |
running 3 tests | |
test bench_instant ... bench: 4,916 ns/iter (+/- 1,165) | |
test bench_syscall ... bench: 1,131 ns/iter (+/- 583) | |
test bench_systemtime ... bench: 4,785 ns/iter (+/- 662) | |
WSL i7-6700K CPU @ 4.00GHz | |
------------------- |