Skip to content

Instantly share code, notes, and snippets.

@bstrie
Created November 14, 2014 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bstrie/202ccee7ab0ee89104d8 to your computer and use it in GitHub Desktop.
Save bstrie/202ccee7ab0ee89104d8 to your computer and use it in GitHub Desktop.
Tremendously hacky measurement of the arity of function signatures in the Rust repository:
0 12919 48.10%
1 7703 28.68%
2 3388 12.61%
3 1544 5.74%
4 705 2.62%
5 345 1.28%
6 144 0.53%
7 58 0.21%
8 28 0.10%
9 8 0.02%
10 7 0.02%
11 3 0.01%
12 2 0.00%
13 1 0.00%
14 0 0.00%
15 1 0.00%
16 1 0.00%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment