跳到正文
RCreddit.com·
暂不在当前实时榜单

Built a quick, sub-15ms Rust CLI/TUI to pack repos into prompts without burning 40k tokens on lockfiles and junk

AI 摘要

A developer created a Rust CLI/TUI tool to efficiently pack code repositories into prompts for large language models (LLMs). The tool aims to prevent "prompt pollution" by excluding unnecessary files like lockfiles (e.g., "Cargo.lock", "package-lock.json"), which can consume over 30,000 tokens without providing useful information. This open-source solution, released under MIT/Apache licenses, processes data in under 15ms, making it faster and more cost-effective for feeding codebases to models like Qwen and DeepSeek R1.

时间与来源

时间显示为 UTC

显示时区:UTC

本地时区尚不可用,暂时显示 UTC。

收录当时偏移:UTC+02026年10月4日 21:00 UTC

收录
2026年10月4日 21:00
来源类型
开发者社区

本站未收录正文。

前往源站阅读 →
来源·reddit.com