Reddit r/webdev· /u/craigrileyuk·· 2 小时前AI 评分42
Strauss-RS:用 Rust 重写 PHP 类前缀工具,比 PHP 版快最多 139 倍
[Showoff Saturday] Composer dependency conflicts? We built Strauss-RS, a Rust-based prefixer for PHP classes and symbols. Up to 139x faster than the PHP version.
AI 导读
团队发布 Strauss-RS,一个用 Rust 编译成单一二进制的 PHP 类与符号前缀工具,官方称比 PHP 版 Strauss 快最多 139 倍。此前用 Strauss PHP 给插件做前缀要 2-3 分钟,Strauss-RS 现在不到 1 秒,且无需任何前置依赖。它用于解决 WordPress 主题与插件共用 Composer 依赖时的版本冲突。
来源:Reddit r/webdev · reddit.com