1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 16:10:08 +00:00
Files
Mole/lib
tw93 09d0de0c8e perf(core): optimize base functions with caching and improve robustness
- Add global caching for `detect_architecture`, `get_darwin_major`, `get_optimal_parallel_jobs`, and `is_ansi_supported` to reduce subshell overhead.
- Improve robustness of `get_lsregister_path` by returning 1 on failure.
- Enhance security of `get_user_home` by replacing `eval echo` with `id -P`.
2026-03-06 19:42:15 +08:00
..
2026-03-05 09:51:52 +00:00