UnifierHQ / unifier

A cross-server and cross-platform bridge bot that works just as fast as you can type 🚀
https://wiki.unifierhq.org
GNU Affero General Public License v3.0
12 stars 17 forks source link

v2: Use speedups #138

Closed greeeen-dev closed 5 months ago

greeeen-dev commented 5 months ago

Checklist

Is your feature request related to a problem? Please describe.

Currently, Unifier v2 uses Nextcord/aiohttp without speedups as well as the standard json module.

Describe the solution you'd like

Install Nextcord with speedup dependencies as well as use orjson instead of json. Although data saving is threaded so UX won't be affected, it would still be a good idea for improving performance.

Describe alternatives you've considered

Additional context

greeeen-dev commented 5 months ago

Went with ujson instead, since orjson doesn't have load from file. Sadge