chore: v1 comments

This commit is contained in:
rvcas 2022-09-24 19:52:40 -04:00
parent 8620332b75
commit 4166e27fd7
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 4 deletions

View File

@ -30,7 +30,6 @@ impl ExBudget {
self.cpu *= n; self.cpu *= n;
} }
// TODO: actually fill in the v1 numbers
pub fn v1() -> Self { pub fn v1() -> Self {
ExBudget { ExBudget {
mem: 14000000, mem: 14000000,
@ -92,7 +91,6 @@ impl MachineCosts {
} }
} }
// TODO: actually fill in the v1 numbers
pub fn v1() -> Self { pub fn v1() -> Self {
Self { Self {
startup: ExBudget { mem: 100, cpu: 100 }, startup: ExBudget { mem: 100, cpu: 100 },
@ -233,7 +231,6 @@ pub struct BuiltinCosts {
} }
impl BuiltinCosts { impl BuiltinCosts {
// TODO: actually fill in the v1 numbers
pub fn v1() -> Self { pub fn v1() -> Self {
Self { Self {
add_integer: CostingFun { add_integer: CostingFun {
@ -586,7 +583,7 @@ impl BuiltinCosts {
}, },
serialise_data: CostingFun { serialise_data: CostingFun {
mem: OneArgument::LinearCost(LinearSize { mem: OneArgument::LinearCost(LinearSize {
intercept: 0, intercept: 30000000000,
slope: 2, slope: 2,
}), }),
cpu: OneArgument::LinearCost(LinearSize { cpu: OneArgument::LinearCost(LinearSize {