MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

modules/benchmarks/src/lib.rs:14–22  ·  view source on GitHub ↗
(initial_load: u32)

Source from the content-addressed store, hash-verified

12
13impl Load {
14 pub(crate) fn new(initial_load: u32) -> Self {
15 Self {
16 initial_load,
17 small_table: initial_load,
18 num_players: initial_load,
19 big_table: initial_load * 50,
20 biggest_table: initial_load * 100,
21 }
22 }
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected