1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-app-matching-kernel matching cargo crate
Rank-1 clearing kernel for the multidimensional exchange: exact-integer parallel pair crossing and surplus-ring clearing at millions of orders per second, with an independent auditor. No dependencies.
0workspace deps
0direct dependents
0transitive dependents
0calls out
0calls in
77.5call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 108 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Book::newsrc/book.rs:98 | method | 3 | 1 | 10 | 0 | 1.8 | |
| Rng::next_u64src/synth.rs:61 | method | 8 | 1 | 2 | 0 | 1.8 | |
| simplest_betweensrc/pair.rs:184 | fn | 13 | 3 | 3 | 0 | 1.4 | |
| Book::orderssrc/book.rs:124 | method | 3 | 1 | 6 | 0 | 1.4 | |
| residualsrc/audit.rs:208 | fn | 4 | 3 | 2 | 0 | 1.3 | |
| osrc/pair.rs:215 | fn | 3 | 1 | 6 | 0 | 1.3 | |
| RingConfig::defaultsrc/ring.rs:68 | trait impl | 3 | 1 | 2 | 0 | 1.2 | |
| balanced_rangessrc/par.rs:25 | fn | 26 | 6 | 3 | 0 | 1.2 | |
| map_in_ordersrc/par.rs:55 | fn | 41 | 5 | 3 | 0 | 1.2 | |
| Clearing::legs_ofsrc/clearing.rs:91 | method | 3 | 1 | 2 | 0 | 1.1 | |
| groupsrc/group.rs:51 | fn | 65 | 10 | 4 | 9 | 1.1 | |
| runsrc/pair.rs:219 | fn | 4 | 1 | 4 | 3 | 1 | |
| osrc/ring.rs:719 | fn | 3 | 1 | 4 | 0 | 1 | |
| clear_all_ringssrc/ring.rs:723 | fn | 8 | 1 | 4 | 6 | 1 | |
| Order::hisrc/book.rs:41 | method | 3 | 1 | 2 | 0 | 1 | |
| Book::asset_countsrc/book.rs:137 | method | 3 | 1 | 4 | 0 | 1 | |
| crossessrc/book.rs:63 | fn | 3 | 1 | 4 | 0 | 1 | |
| Wide::onesrc/ring.rs:579 | method | 5 | 1 | 2 | 0 | 1 | |
| Wide::mulsrc/ring.rs:585 | method | 9 | 2 | 2 | 0 | 1 | |
| Rem::donesrc/clearing.rs:151 | method | 3 | 2 | 3 | 0 | 0.9 | |
| Rem::fullsrc/clearing.rs:146 | method | 3 | 1 | 4 | 0 | 0.9 | |
| Wide::cmpsrc/ring.rs:603 | trait impl | 4 | 1 | 1 | 0 | 0.9 | |
| clearsrc/lib.rs:60 | fn | 29 | 2 | 4 | 8 | 0.9 | |
| clear_pairssrc/pair.rs:37 | fn | 29 | 6 | 2 | 5 | 0.9 | |
| State::headsrc/ring.rs:115 | method | 4 | 1 | 2 | 0 | 0.8 | |
| ceil_divsrc/pair.rs:198 | fn | 4 | 2 | 1 | 0 | 0.8 | |
| Book::with_capacitysrc/book.rs:102 | method | 3 | 1 | 2 | 0 | 0.8 | |
| Rng::newsrc/synth.rs:57 | method | 3 | 1 | 2 | 0 | 0.8 | |
| Rng::belowsrc/synth.rs:70 | method | 3 | 2 | 2 | 1 | 0.8 | |
| solve_tradesrc/pair.rs:154 | fn | 25 | 8 | 3 | 2 | 0.8 | |
| ordersrc/book.rs:185 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| SynthConfig::sizedsrc/synth.rs:38 | method | 12 | 1 | 3 | 0 | 0.8 | |
| synth_booksrc/synth.rs:79 | fn | 30 | 4 | 3 | 4 | 0.8 | |
| integer_trade_existssrc/audit.rs:304 | fn | 16 | 5 | 1 | 0 | 0.8 | |
| Market::two_sidedsrc/group.rs:30 | method | 3 | 2 | 2 | 0 | 0.7 | |
| cmp_aggressivenesssrc/book.rs:54 | fn | 5 | 1 | 2 | 0 | 0.7 | |
| chainsrc/ring.rs:611 | fn | 20 | 3 | 1 | 0 | 0.7 | |
| closessrc/ring.rs:632 | fn | 4 | 2 | 1 | 0 | 0.7 | |
| clear_ringssrc/ring.rs:143 | fn | 197 | 38 | 2 | 9 | 0.7 | |
| assert_cleansrc/tests.rs:32 | fn | 8 | 1 | 2 | 3 | 0.7 |