Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Change filter() for find() #9

Open
1 task done
vicasas opened this issue Jan 17, 2021 · 0 comments
Open
1 task done

[core] Change filter() for find() #9

vicasas opened this issue Jan 17, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@vicasas
Copy link
Owner

vicasas commented Jan 17, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Necesitamos cambiar la forma que estamos haciendo match en nuestros archivos de db cuando se solicitan datos.

Actualmente estamos usando filter PERO deberiamos usar find.

Como dice la documentación de MDN sobre filter y find, el primero itera el array por completo mientras que eo segundo itera hasta que hace match con el dato que esta buscando. Nuestra perfomance seria mejor!.

Examples 🌈

N/A

Motivation 🔦

Queremos que nuestro proyecto sea lo más rápido posible y con una perfomance increible 🚀

@vicasas vicasas added the needs triage These issues haven't been looked at yet by a maintainer. label Jan 17, 2021
@vicasas vicasas added good first issue Good for newcomers enhancement New feature or request and removed needs triage These issues haven't been looked at yet by a maintainer. labels Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant