Skip to content

Commit

Permalink
Start updating v2 cost models
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed Sep 17, 2024
1 parent 47a15cf commit 5ef074f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions crates/uplc/src/machine/cost_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,9 +842,9 @@ impl BuiltinCosts {
intercept: 0,
slope: 1,
}),
cpu: TwoArguments::AddedSizes(AddedSizes {
intercept: 69522,
slope: 11687,
cpu: TwoArguments::MultipliedSizes(MultipliedSizes {
intercept: 90434,
slope: 519,
}),
},
divide_integer: CostingFun {
Expand All @@ -854,10 +854,10 @@ impl BuiltinCosts {
minimum: 1,
}),
cpu: TwoArguments::ConstAboveDiagonal(ConstantOrTwoArguments {
constant: 196500,
constant: 85848,
model: Box::new(TwoArguments::MultipliedSizes(MultipliedSizes {
intercept: 453240,
slope: 220,
intercept: 228465,
slope: 122,
})),
}),
},
Expand All @@ -868,10 +868,10 @@ impl BuiltinCosts {
minimum: 1,
}),
cpu: TwoArguments::ConstAboveDiagonal(ConstantOrTwoArguments {
constant: 196500,
constant: 85848,
model: Box::new(TwoArguments::MultipliedSizes(MultipliedSizes {
intercept: 453240,
slope: 220,
intercept: 228465,
slope: 122,
})),
}),
},
Expand All @@ -882,10 +882,10 @@ impl BuiltinCosts {
minimum: 1,
}),
cpu: TwoArguments::ConstAboveDiagonal(ConstantOrTwoArguments {
constant: 196500,
constant: 85848,
model: Box::new(TwoArguments::MultipliedSizes(MultipliedSizes {
intercept: 453240,
slope: 220,
intercept: 228465,
slope: 122,
})),
}),
},
Expand All @@ -896,10 +896,10 @@ impl BuiltinCosts {
minimum: 1,
}),
cpu: TwoArguments::ConstAboveDiagonal(ConstantOrTwoArguments {
constant: 196500,
constant: 85848,
model: Box::new(TwoArguments::MultipliedSizes(MultipliedSizes {
intercept: 453240,
slope: 220,
intercept: 228465,
slope: 122,
})),
}),
},
Expand Down

0 comments on commit 5ef074f

Please sign in to comment.