For some upcoming builtins (notably, import) we need to capture arguments in the builtin's implementation. To allow this, we can no longer use function pointers for builtins, but must use a reference-counted closure object instead. Unfortunately this adds an extra pointer operation to every builtin call. We should benchmark this later against having a split builtin representation. Change-Id: I109d98d0e25998870542f47573eb1ec2e546f2a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6856 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi> |
||
|---|---|---|
| .. | ||
| attrs | ||
| arbitrary.rs | ||
| attrs.rs | ||
| builtin.rs | ||
| function.rs | ||
| list.rs | ||
| mod.rs | ||
| string.rs | ||
| thunk.rs | ||