Skip to content
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.

crates/cre8-app-matching-kernel · level 0 · 2,419 lines (1,856 code) · 10 files · 108 fns (28 tests) · cyclomatic Σ 356

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
Book::newsrc/book.rs:98method311001.8
Rng::next_u64src/synth.rs:61method81201.8
simplest_betweensrc/pair.rs:184fn133301.4
Book::orderssrc/book.rs:124method31601.4
residualsrc/audit.rs:208fn43201.3
osrc/pair.rs:215fn31601.3
RingConfig::defaultsrc/ring.rs:68trait impl31201.2
balanced_rangessrc/par.rs:25fn266301.2
map_in_ordersrc/par.rs:55fn415301.2
Clearing::legs_ofsrc/clearing.rs:91method31201.1
groupsrc/group.rs:51fn6510491.1
runsrc/pair.rs:219fn41431
osrc/ring.rs:719fn31401
clear_all_ringssrc/ring.rs:723fn81461
Order::hisrc/book.rs:41method31201
Book::asset_countsrc/book.rs:137method31401
crossessrc/book.rs:63fn31401
Wide::onesrc/ring.rs:579method51201
Wide::mulsrc/ring.rs:585method92201
Rem::donesrc/clearing.rs:151method32300.9
Rem::fullsrc/clearing.rs:146method31400.9
Wide::cmpsrc/ring.rs:603trait impl41100.9
clearsrc/lib.rs:60fn292480.9
clear_pairssrc/pair.rs:37fn296250.9
State::headsrc/ring.rs:115method41200.8
ceil_divsrc/pair.rs:198fn42100.8
Book::with_capacitysrc/book.rs:102method31200.8
Rng::newsrc/synth.rs:57method31200.8
Rng::belowsrc/synth.rs:70method32210.8
solve_tradesrc/pair.rs:154fn258320.8
ordersrc/book.rs:185fn31200.8
SynthConfig::sizedsrc/synth.rs:38method121300.8
synth_booksrc/synth.rs:79fn304340.8
integer_trade_existssrc/audit.rs:304fn165100.8
Market::two_sidedsrc/group.rs:30method32200.7
cmp_aggressivenesssrc/book.rs:54fn51200.7
chainsrc/ring.rs:611fn203100.7
closessrc/ring.rs:632fn42100.7
clear_ringssrc/ring.rs:143fn19738290.7
assert_cleansrc/tests.rs:32fn81230.7