Open boren07 opened 1 year ago
可以考虑作为一个优化项,后续有时间我看下。
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: borened @.> 发送时间: 2023年10月16日 16:57 收件人: houbb/sensitive-word @.> 抄送: Subscribed @.***> 主题: Re: [houbb/sensitive-word] Spring托管SensitiveWordBs,使用自定义替换字符时,重复初始化效率问题 (Issue #36)
问题描述:Spring托管SensitiveWordBs,使用自定义替换字符时,重复初始化效率问题。是否可以提供替换时传入策略的api
使用环境:spring
场景:需要在接口层支持自定义替换字符。
现状:必须在初始化SensitiveWordBs对象时指定替换策略,导致替换接口调用时会重复初始化。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
问题描述:Spring托管SensitiveWordBs,使用自定义替换字符时,重复初始化效率问题。是否可以提供替换时传入策略的api