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] | |
# ... | |
[check-cfg] # or [package.check-cfg] ? | |
well-known = true # this only and exclusively control the names() part | |
# aka as the well-known names (or values, maybe) in rustc | |
# this default to true | |
names = ["no_global_oom_handling"] # this is the names(...) part, this | |
# only check the name part of the cfg | |
# and never the value of it (except if |
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 python3 | |
# Urgau - 2023 Copyright MIT License | |
import statistics | |
import json | |
import sys | |
import os | |
USAGE = """USAGE | |
./print-vtable-sizes-summary FILE... |
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 python3 | |
from collections import Counter | |
import math | |
import sys | |
import os | |
UPSTREAM_FIXED = { | |
"Deserialize": ("serde_derive", ">1.0.113"), | |
"Serialize": ("serde_derive", ">1.0.113"), |
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 python3 | |
from collections import Counter | |
import math | |
import sys | |
import os | |
class UnexpectedCfg(object): | |
def __init__(self, filename, type_ = None, name = None, value = None): | |
self.filename = filename |
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
Benchmark name | urgau_transpose | grigorenkopv_transpose | grigorenkopv_transpose3 | |
---|---|---|---|---|
2*None | 763.50 ps | 718.60 ps | 674.90 ps | |
2*u64 | 1.1840 ns | 1.1829 ns | 1.0371 ns | |
10*u64 | 4.6656 ns | 4.1235 ns | 4.1598 ns | |
9*u64+None | 3.7074 ns | 3.5550 ns | 3.4683 ns | |
2*String | 2.0212 ns | 2.0284 ns | 1.5549 ns | |
10*String | 23.318 ns | 25.383 ns | 22.737 ns |