Repository navigation
perf(nostrand): ship own namespaces as DLLs and stop *load-paths* accumulating roots - #184
Conversation
Only caller was Scripts/aot-assemblies.sh, itself reachable only from a PostBuild target commented out in NostrandMain.csproj. bb refresh-nostrand replaces it.
ce52cc0 to
95e28dc
Compare
|
Two follow-ups outside the diff, both created by this change.
One question, not a change request: why is |
nos compiled its eight namespaces into memory at every startup; shipping them as nostrand.*.clj.dll saves a few seconds per invocation. NostrandMain.csproj no longer copies the .clj sources.
95e28dc to
4111c18
Compare
|
|
Closes #183, Closes #182
nosloads its eight namespaces from committednostrand.*.clj.dllinstead of recompiling them at every startup, takingnos versionfrom 4.8s to 2.2s with a deps file and 3.8s to 1.3s without.NostrandMain.csprojstops copyingnostrand/**/*.cljinto the output.refresh/nostrandregenerates those DLLs, exposed asbb refresh-nostrand, run afterdotnet buildinbb buildandbb build-runtime, and added tobb check-driftfull-aotandScripts/aot-assemblies.shas they were unused.*load-paths*holds each root once, andset-load-pathdrops roots it no longer names.