Giter VIP home page Giter VIP logo

Comments (7)

toolgood avatar toolgood commented on May 18, 2024

能上传一下测试代码吗?

from toolgood.words.

bao-qian avatar bao-qian commented on May 18, 2024

代码在这里,我尽快上传一份可以复现的最小代码。

https://github.com/Wox-launcher/Wox/blob/master/Wox.Infrastructure/Alphabet.cs#L41-L47

from toolgood.words.

toolgood avatar toolgood commented on May 18, 2024

仔细研究代码后,PinyinDict是懒加载,只加载一次,最多消耗87M,使用WordsSearchEx来加载可降低到40M,感觉是多线程(并发情况下)没有加锁。
就在刚才测试了代码,发现你的代码的确是在多线程执行的。

from toolgood.words.

bao-qian avatar bao-qian commented on May 18, 2024

@toolgood
能不能多线程下共享加载资源?

from toolgood.words.

toolgood avatar toolgood commented on May 18, 2024

已修改,最新使用3.0.1.2 版本

from toolgood.words.

toolgood avatar toolgood commented on May 18, 2024

我看了一下Wox使用内存在140M左右

from toolgood.words.

bao-qian avatar bao-qian commented on May 18, 2024

感谢,确认已修复。

from toolgood.words.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.