tencentmusic / supersonic

SuperSonic is the next-generation AI+BI platform that unifies Chat BI (powered by LLM) and Headless BI (powered by semantic layer) paradigms.
Other
2.4k stars 416 forks source link

[question] mapping过程存在大量耗时 #1883

Open ProgramLism opened 2 weeks ago

ProgramLism commented 2 weeks ago

Describe your question

mapping过程存在大量耗时,主要存在SingleMatchStrategy类的detect方法中,存在对每个字符detectByStep image

Provide any additional context or information

image image image

What have you tried to resolve your question

是否有改进计划? 这一块为什么不异步批量执行呢?

Your environment

supersonic 0.9.8 macos15.1

Screenshots or Logs

No response

Additional information

No response

lexluo09 commented 2 weeks ago

嗯嗯,可以考虑优化

ProgramLism commented 2 weeks ago

嗯嗯,可以考虑优化

理解错误,后面版本已经优化,获取配置时采用缓存,减少数据库访问