Skip to content

Instantly share code, notes, and snippets.

@Eh2406
Eh2406 / #Pubgrub draft RangeSet trait for Semver
Last active September 12, 2022 12:52
Pubgrub draft RangeSet trait for Semver
This is still a proof of concept. I don't think it has all the corner cases correct, but it demonstrates what's possible.
<html>
<head>
<title>Cargo Build Timings — cargo 0.41.0</title>
<meta charset="utf-8">
<style type="text/css">
html {
font-family: sans-serif;
}
@Eh2406
Eh2406 / fuzz.py
Created June 26, 2018 03:36
fuzz cargo generate-lockfile
from __future__ import print_function
import os
import subprocess
import time
import json
import csv
from threading import Timer
import pandas as pd
@Eh2406
Eh2406 / test.ipynb
Last active May 18, 2018 19:40
Explore anomaly detection lolbench-analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Eh2406
Eh2406 / downloads.csv
Last active September 8, 2017 21:50
levenshtein < 1 on crates.io
libc lib
libc libr
libc libs
libc rlibc
serde serde1
rand rad
log clog
log cog
log elog
log loc
@Eh2406
Eh2406 / fixme.md
Last active August 21, 2022 12:58
closed rust issue this FIXME referring to them

This is the output of a half baked and first draft script to fined fixmes on closed issues in rust.

// FIXME: Temporary fix for https://github.com/rust-lang/cargo/issues/3005
# FIXME(#49246): Remove the `sed` below.

This document has been superseded by the one maintained by chriskrycho.

Not yet implemented

  • #1199: simd-infrastructure well It is being rethout so the implementation will be written before stabilize, possibly with a new rfc.
  • #1214: projections-lifetimes-and-wf
  • #1331: grammar-is-canonical
  • #1358: repr-align
  • #1398: kinds-of-allocators
  • #1432: replace-slice
// AVLTree ///////////////////////////////////////////////////////////////////
// This file is originally from the Concentré XML project (version 0.2.1)
// Licensed under GPL and LGPL
//
// Modified by Jeremy Stephens.
// and by Jacob Finkelman.
// Pass in the attribute you want to use for comparing
function AVLTree(n, attr) {
return new AVLTree.prototype.init(n, attr);