snix/tvix/eval/src/builtins
Vincent Ambo 610c44ec1e refactor(tvix/eval): use im::Vector directly where possible
The conversion from im::Vector -> Vec is cheaper for NixList
construction (of course), so where possible we should make use of
that.

This updates most builtins dealing with lists to use Vector directly,
and marks the function constructing NixList from Vec as deprecated so
that we get appropriate warnings in places where it's still in use.

These places are currently inside of JSON serialisation logic which is
in flux right now, so lets leave them as-is until it's stabilised.

Change-Id: I037f12a2800f2576db4d9526bd935efd079163f0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7671
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2022-12-29 16:33:14 +00:00
..
impure.rs refactor(tvix/eval): use light spans in builtins.import 2022-12-21 22:59:18 +00:00
mod.rs refactor(tvix/eval): use im::Vector directly where possible 2022-12-29 16:33:14 +00:00
versions.rs chore(tvix/eval): fix all current clippy lints 2022-09-29 11:47:47 +00:00