H2Owater425 / node-hitomi

Hitomi.la api for Node.js
https://npm.im/node-hitomi
MIT License
15 stars 2 forks source link

Make getQueriedIds more efficient #34

Closed H2Owater425 closed 2 years ago

H2Owater425 commented 2 years ago

You can use key-value object like dictionary to make the performance better. Instead of using set, put id on key so that you can get access speed of almost zero.

H2Owater425 commented 2 years ago

Rejected. Their performances are similar, and sometimes an object works worse.