difftreelog
perf(evaluator) do not clone FuncDesc
in: master
1 file changed
crates/jrsonnet-evaluator/src/val.rsdiffbeforeafterboth56 }56 }57}57}585859#[derive(Debug, PartialEq, Clone)]59#[derive(Debug, PartialEq)]60pub struct FuncDesc {60pub struct FuncDesc {61 pub ctx: Context,61 pub ctx: Context,62 pub params: ParamsDesc,62 pub params: ParamsDesc,120 Lazy(LazyVal),120 Lazy(LazyVal),121 Arr(Rc<Vec<Val>>),121 Arr(Rc<Vec<Val>>),122 Obj(ObjValue),122 Obj(ObjValue),123 Func(FuncDesc),123 Func(Rc<FuncDesc>),124124125 // Library functions implemented in native125 // Library functions implemented in native126 Intristic(Rc<str>, Rc<str>),126 Intristic(Rc<str>, Rc<str>),