noonbles / GameFinder

A repository that houses GameFinder, a bot intended for personal use that does things you'll find out if you read the README
2 stars 0 forks source link

Optimize Youtube API implementation #5

Open noonbles opened 2 years ago

noonbles commented 2 years ago

Right now I just make a query every time we search something; we don't necessarily have to do that. We could just memorize whether or not we searched that thing already, and then pick it from memory. Much faster, much more efficient, and Youtube won't yell at me for making too many requests.

noonbles commented 2 years ago

Potential issues I've found with such an approach:

Unrelated to what I just mentioned, I also realized that this command can be used to search literally anything. It's not necessarily a game exclusive searcher. That's not what I intended and I'm going to have to fix that.

noonbles commented 2 years ago

See the third comment in issue #12 for a potential solution to my potential issues here

noonbles commented 7 months ago

With new idea of MongoDB integration, this needs to be reconsidered.