Coder Social home page Coder Social logo

Comments (8)

Tsuk1ko avatar Tsuk1ko commented on June 1, 2024

压缩是并行的,并行最大数量取决于你的 CPU 线程数(当然一般堆积不到这个数量,压缩比下载快多了)

下载也是多图并行的,线程数可以在设置里改

不会多个本子一起下载,因为本来单个本子下载的时候内部的图片就已经在并行下载了,多个本子一起下载没有意义,下载慢的话建议还是从代理方面找原因

from nhentai-helper.

Minori-ty avatar Minori-ty commented on June 1, 2024

嗯,就是想并行下载多本子。。。

from nhentai-helper.

Minori-ty avatar Minori-ty commented on June 1, 2024

压缩是并行的,并行最大数量取决于你的 CPU 线程数(当然一般堆积不到这个数量,压缩比下载快多了)

下载也是多图并行的,线程数可以在设置里改

不会多个本子一起下载,因为本来单个本子下载的时候内部的图片就已经在并行下载了,多个本子一起下载没有意义,下载慢的话建议还是从代理方面找原因

主要是js的下载都是并行下载的,然后你把下载本子的改成了串行下载把。。。

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on June 1, 2024

啥意思……

from nhentai-helper.

Minori-ty avatar Minori-ty commented on June 1, 2024

啥意思……

没,我的意思是js本身就是异步的,循环下载的话,应该都是并行下载的。是不是你做了队列处理,才变成一个本子一个本子队列下载的?

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on June 1, 2024

是的,不然同时下好几个本子并行下几百张图就太恐怖了

from nhentai-helper.

Minori-ty avatar Minori-ty commented on June 1, 2024

是的,不然同时下好几个本子并行下几百张图就太恐怖了

是的,所以我说有大内存的电脑不怕的。所以为了下载效率,是否可以开放设置可以下载的本子的数量

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on June 1, 2024

倒不是内存够不够的问题,只是我觉得这不太好

目前没有开放这种设置的打算,一般 32 线程已经足够了,受限于代理质量更多点

要是想改高点线程数倒是可以,自行去脚本插件里点开脚本改储存了的设置

image

from nhentai-helper.

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.