Files
rose-ash/shared/static/wasm/sx/deps.sxbc
giles 951b3a6586 Native bytecode compilation in MCP: 108s → 1.9s (57x faster)
Replace Node.js compile-modules.js with direct Sx_compiler.compile_module
calls in mcp_tree.ml. No subprocess, no JIT warm-up, no Node.js.
23 files compile in 1.9 seconds.

Also includes rebuilt WASM kernel (iterative cek_run) and all 23
bytecode modules recompiled with native compiler.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 10:45:38 +00:00

4 lines
9.5 KiB
Plaintext

(sxbc 1 "e71dcede46ada0e7"
(code
:constants ("scan-refs" {:upvalue-count 0 :arity 1 :constants ("list" "scan-refs-walk") :bytecode (52 0 0 0 17 1 20 1 0 16 0 16 1 48 2 5 16 1 50)} "scan-refs-walk" {:upvalue-count 0 :arity 2 :constants ("=" "type-of" "symbol" "symbol-name" "starts-with?" "~" "not" "contains?" "append!" "list" "for-each" {:upvalue-count 1 :arity 1 :constants ("scan-refs-walk") :bytecode (20 0 0 16 0 18 0 49 2 50)} "dict" {:upvalue-count 2 :arity 1 :constants ("scan-refs-walk" "dict-get") :bytecode (20 0 0 18 0 16 0 52 1 0 2 18 1 49 2 50)} "keys") :bytecode (16 0 52 1 0 1 1 2 0 52 0 0 2 33 56 0 20 3 0 16 0 48 1 17 2 16 2 1 5 0 52 4 0 2 33 31 0 16 1 16 2 52 7 0 2 52 6 0 1 33 12 0 20 8 0 16 1 16 2 49 2 32 1 0 2 32 1 0 2 32 67 0 16 0 52 1 0 1 1 9 0 52 0 0 2 33 14 0 51 11 0 1 1 16 0 52 10 0 2 32 37 0 16 0 52 1 0 1 1 12 0 52 0 0 2 33 20 0 51 13 0 1 0 1 1 16 0 52 14 0 1 52 10 0 2 32 1 0 2 50)} "transitive-deps-walk" {:upvalue-count 0 :arity 3 :constants ("not" "contains?" "append!" "env-get" "=" "type-of" "component" "island" "for-each" {:upvalue-count 2 :arity 1 :constants ("transitive-deps-walk") :bytecode (20 0 0 16 0 18 0 18 1 49 3 50)} "scan-refs" "component-body" "macro" "macro-body") :bytecode (16 1 16 0 52 1 0 2 52 0 0 1 33 126 0 20 2 0 16 1 16 0 48 2 5 20 3 0 16 2 16 0 48 2 17 3 16 3 52 5 0 1 1 6 0 52 4 0 2 6 34 14 0 5 16 3 52 5 0 1 1 7 0 52 4 0 2 33 25 0 51 9 0 1 1 1 2 20 10 0 16 3 52 11 0 1 48 1 52 8 0 2 32 43 0 16 3 52 5 0 1 1 12 0 52 4 0 2 33 26 0 51 9 0 1 1 1 2 20 10 0 20 13 0 16 3 48 1 48 1 52 8 0 2 32 1 0 2 32 1 0 2 50)} "transitive-deps" {:upvalue-count 0 :arity 2 :constants ("list" "starts-with?" "~" "str" "transitive-deps-walk" "filter" {:upvalue-count 1 :arity 1 :constants ("not" "=") :bytecode (16 0 18 0 52 1 0 2 52 0 0 1 50)}) :bytecode (52 0 0 0 17 2 16 0 1 2 0 52 1 0 2 33 5 0 16 0 32 9 0 1 2 0 16 0 52 3 0 2 17 3 20 4 0 16 3 16 2 16 1 48 3 5 51 6 0 1 3 16 2 52 5 0 2 50)} "compute-all-deps" {:upvalue-count 0 :arity 1 :constants ("for-each" {:upvalue-count 1 :arity 1 :constants ("env-get" "=" "type-of" "component" "island" "component-set-deps!" "transitive-deps") :bytecode (20 0 0 18 0 16 0 48 2 17 1 16 1 52 2 0 1 1 3 0 52 1 0 2 6 34 14 0 5 16 1 52 2 0 1 1 4 0 52 1 0 2 33 19 0 20 5 0 16 1 20 6 0 16 0 18 0 48 2 49 2 32 1 0 2 50)} "env-components") :bytecode (51 1 0 1 0 20 2 0 16 0 48 1 52 0 0 2 50)} "scan-components-from-source" {:upvalue-count 0 :arity 1 :constants ("regex-find-all" "\\(~([a-zA-Z_][a-zA-Z0-9_\\-:/]*)" "map" {:upvalue-count 0 :arity 1 :constants ("str" "~") :bytecode (1 1 0 16 0 52 0 0 2 50)}) :bytecode (20 0 0 1 1 0 16 0 48 2 17 1 51 3 0 16 1 52 2 0 2 50)} "components-needed" {:upvalue-count 0 :arity 2 :constants ("scan-components-from-source" "list" "for-each" {:upvalue-count 2 :arity 1 :constants ("not" "contains?" "append!" "env-get" "=" "type-of" "component" "empty?" "component-deps" "transitive-deps" "for-each" {:upvalue-count 1 :arity 1 :constants ("not" "contains?" "append!") :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 49 2 32 1 0 2 50)}) :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 48 2 32 1 0 2 5 20 3 0 18 1 16 0 48 2 17 1 16 1 52 5 0 1 1 6 0 52 4 0 2 6 33 16 0 5 20 8 0 16 1 48 1 52 7 0 1 52 0 0 1 33 10 0 20 8 0 16 1 48 1 32 9 0 20 9 0 16 0 18 1 48 2 17 2 51 11 0 0 0 16 2 52 10 0 2 50)}) :bytecode (20 0 0 16 0 48 1 17 2 52 1 0 0 17 3 51 3 0 1 3 1 1 16 2 52 2 0 2 5 16 3 50)} "page-component-bundle" {:upvalue-count 0 :arity 2 :constants ("components-needed") :bytecode (20 0 0 16 0 16 1 49 2 50)} "page-css-classes" {:upvalue-count 0 :arity 2 :constants ("components-needed" "list" "for-each" {:upvalue-count 2 :arity 1 :constants ("env-get" "=" "type-of" "component" "for-each" {:upvalue-count 1 :arity 1 :constants ("not" "contains?" "append!") :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 49 2 32 1 0 2 50)} "component-css-classes") :bytecode (20 0 0 18 0 16 0 48 2 17 1 16 1 52 2 0 1 1 3 0 52 1 0 2 33 19 0 51 5 0 0 1 20 6 0 16 1 48 1 52 4 0 2 32 1 0 2 50)} {:upvalue-count 1 :arity 1 :constants ("not" "contains?" "append!") :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 49 2 32 1 0 2 50)} "scan-css-classes") :bytecode (20 0 0 16 0 16 1 48 2 17 2 52 1 0 0 17 3 51 3 0 1 1 1 3 16 2 52 2 0 2 5 51 4 0 1 3 20 5 0 16 0 48 1 52 2 0 2 5 16 3 50)} "scan-io-refs-walk" {:upvalue-count 0 :arity 3 :constants ("=" "type-of" "symbol" "symbol-name" "contains?" "not" "append!" "list" "for-each" {:upvalue-count 2 :arity 1 :constants ("scan-io-refs-walk") :bytecode (20 0 0 16 0 18 0 18 1 49 3 50)} "dict" {:upvalue-count 3 :arity 1 :constants ("scan-io-refs-walk" "dict-get") :bytecode (20 0 0 18 0 16 0 52 1 0 2 18 1 18 2 49 3 50)} "keys") :bytecode (16 0 52 1 0 1 1 2 0 52 0 0 2 33 55 0 20 3 0 16 0 48 1 17 3 16 1 16 3 52 4 0 2 33 31 0 16 2 16 3 52 4 0 2 52 5 0 1 33 12 0 20 6 0 16 2 16 3 49 2 32 1 0 2 32 1 0 2 32 71 0 16 0 52 1 0 1 1 7 0 52 0 0 2 33 16 0 51 9 0 1 1 1 2 16 0 52 8 0 2 32 39 0 16 0 52 1 0 1 1 10 0 52 0 0 2 33 22 0 51 11 0 1 0 1 1 1 2 16 0 52 12 0 1 52 8 0 2 32 1 0 2 50)} "scan-io-refs" {:upvalue-count 0 :arity 2 :constants ("list" "scan-io-refs-walk") :bytecode (52 0 0 0 17 2 20 1 0 16 0 16 1 16 2 48 3 5 16 2 50)} "transitive-io-refs-walk" {:upvalue-count 0 :arity 5 :constants ("not" "contains?" "append!" "env-get" "=" "type-of" "component" "for-each" {:upvalue-count 1 :arity 1 :constants ("not" "contains?" "append!") :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 49 2 32 1 0 2 50)} "scan-io-refs" "component-body" {:upvalue-count 4 :arity 1 :constants ("transitive-io-refs-walk") :bytecode (20 0 0 16 0 18 0 18 1 18 2 18 3 49 5 50)} "scan-refs" "macro" "macro-body") :bytecode (16 1 16 0 52 1 0 2 52 0 0 1 33 163 0 20 2 0 16 1 16 0 48 2 5 20 3 0 16 3 16 0 48 2 17 5 16 5 52 5 0 1 1 6 0 52 4 0 2 33 52 0 51 8 0 1 2 20 9 0 16 5 52 10 0 1 16 4 48 2 52 7 0 2 5 51 11 0 1 1 1 2 1 3 1 4 20 12 0 16 5 52 10 0 1 48 1 52 7 0 2 32 71 0 16 5 52 5 0 1 1 13 0 52 4 0 2 33 54 0 51 8 0 1 2 20 9 0 20 14 0 16 5 48 1 16 4 48 2 52 7 0 2 5 51 11 0 1 1 1 2 1 3 1 4 20 12 0 20 14 0 16 5 48 1 48 1 52 7 0 2 32 1 0 2 32 1 0 2 50)} "transitive-io-refs" {:upvalue-count 0 :arity 3 :constants ("list" "starts-with?" "~" "str" "transitive-io-refs-walk") :bytecode (52 0 0 0 17 3 52 0 0 0 17 4 16 0 1 2 0 52 1 0 2 33 5 0 16 0 32 9 0 1 2 0 16 0 52 3 0 2 17 5 20 4 0 16 5 16 4 16 3 16 1 16 2 48 5 5 16 3 50)} "compute-all-io-refs" {:upvalue-count 0 :arity 2 :constants ("for-each" {:upvalue-count 2 :arity 1 :constants ("env-get" "=" "type-of" "component" "component-set-io-refs!" "transitive-io-refs") :bytecode (20 0 0 18 0 16 0 48 2 17 1 16 1 52 2 0 1 1 3 0 52 1 0 2 33 21 0 20 4 0 16 1 20 5 0 16 0 18 0 18 1 48 3 49 2 32 1 0 2 50)} "env-components") :bytecode (51 1 0 1 0 1 1 20 2 0 16 0 48 1 52 0 0 2 50)} "component-io-refs-cached" {:upvalue-count 0 :arity 3 :constants ("starts-with?" "~" "str" "env-get" "=" "type-of" "component" "not" "nil?" "component-io-refs" "empty?" "transitive-io-refs") :bytecode (16 0 1 1 0 52 0 0 2 33 5 0 16 0 32 9 0 1 1 0 16 0 52 2 0 2 17 3 20 3 0 16 1 16 3 48 2 17 4 16 4 52 5 0 1 1 6 0 52 4 0 2 6 33 36 0 5 20 9 0 16 4 48 1 52 8 0 1 52 7 0 1 6 33 16 0 5 20 9 0 16 4 48 1 52 10 0 1 52 7 0 1 33 10 0 20 9 0 16 4 49 1 32 11 0 20 11 0 16 0 16 1 16 2 49 3 50)} "component-pure?" {:upvalue-count 0 :arity 3 :constants ("starts-with?" "~" "str" "env-get" "=" "type-of" "component" "not" "nil?" "component-io-refs" "empty?" "transitive-io-refs") :bytecode (16 0 1 1 0 52 0 0 2 33 5 0 16 0 32 9 0 1 1 0 16 0 52 2 0 2 17 3 20 3 0 16 1 16 3 48 2 17 4 16 4 52 5 0 1 1 6 0 52 4 0 2 6 33 16 0 5 20 9 0 16 4 48 1 52 8 0 1 52 7 0 1 33 14 0 20 9 0 16 4 48 1 52 10 0 1 32 15 0 20 11 0 16 0 16 1 16 2 48 3 52 10 0 1 50)} "render-target" {:upvalue-count 0 :arity 3 :constants ("starts-with?" "~" "str" "env-get" "not" "=" "type-of" "component" "server" "component-affinity" "client" "component-pure?") :bytecode (16 0 1 1 0 52 0 0 2 33 5 0 16 0 32 9 0 1 1 0 16 0 52 2 0 2 17 3 20 3 0 16 1 16 3 48 2 17 4 16 4 52 6 0 1 1 7 0 52 5 0 2 52 4 0 1 33 6 0 1 8 0 32 72 0 20 9 0 16 4 48 1 17 5 16 5 1 8 0 52 5 0 2 33 6 0 1 8 0 32 45 0 16 5 1 10 0 52 5 0 2 33 6 0 1 10 0 32 27 0 20 11 0 16 0 16 1 16 2 48 3 52 4 0 1 33 6 0 1 8 0 32 3 0 1 10 0 50)} "page-render-plan" {:upvalue-count 0 :arity 3 :constants ("components-needed" "dict" "list" "for-each" {:upvalue-count 6 :arity 1 :constants ("render-target" "dict-set!" "=" "server" "append!" "for-each" {:upvalue-count 1 :arity 1 :constants ("not" "contains?" "append!") :bytecode (18 0 16 0 52 1 0 2 52 0 0 1 33 12 0 20 2 0 18 0 16 0 49 2 32 1 0 2 50)} "component-io-refs-cached") :bytecode (20 0 0 16 0 18 0 18 1 48 3 17 1 18 2 16 0 16 1 52 1 0 3 5 16 1 1 3 0 52 2 0 2 33 33 0 20 4 0 18 3 16 0 48 2 5 51 6 0 0 4 20 7 0 16 0 18 0 18 1 48 3 52 5 0 2 32 9 0 20 4 0 18 5 16 0 49 2 50)} "io-deps" "server" "components" "client") :bytecode (20 0 0 16 0 16 1 48 2 17 3 52 1 0 0 17 4 52 2 0 0 17 5 52 2 0 0 17 6 52 2 0 0 17 7 51 4 0 1 1 1 2 1 4 1 5 1 7 1 6 16 3 52 3 0 2 5 1 5 0 16 7 1 6 0 16 5 1 7 0 16 4 1 8 0 16 6 65 4 0 50)} "env-components" {:upvalue-count 0 :arity 1 :constants ("filter" {:upvalue-count 1 :arity 1 :constants ("env-get" "component?" "macro?") :bytecode (20 0 0 18 0 16 0 48 2 17 1 16 1 52 1 0 1 6 34 7 0 5 16 1 52 2 0 1 50)} "keys") :bytecode (51 1 0 1 0 16 0 52 2 0 1 52 0 0 2 50)}) :bytecode (51 1 0 128 0 0 5 51 3 0 128 2 0 5 51 5 0 128 4 0 5 51 7 0 128 6 0 5 51 9 0 128 8 0 5 51 11 0 128 10 0 5 51 13 0 128 12 0 5 51 15 0 128 14 0 5 51 17 0 128 16 0 5 51 19 0 128 18 0 5 51 21 0 128 20 0 5 51 23 0 128 22 0 5 51 25 0 128 24 0 5 51 27 0 128 26 0 5 51 29 0 128 28 0 5 51 31 0 128 30 0 5 51 33 0 128 32 0 5 51 35 0 128 34 0 5 51 37 0 128 36 0 50)))