Big O
Big O is how we measure how fast an algorithm is, and how fast it grows as the input N grows
O(n) means the algorithm increases at the same rate as their input
o(log n) means it increases based on their log (usually the depth of the tree), used on tree algorithms to Search data
To improve performance we always try to find better algorithm with better times over number of inputs
Sometimes the way to solve this is to reduce the input, it is to process less or “cache” some results.
Like bazel or dynamic programming does
Links to
- SearchSearch is the way we find information We use google in a daily basis to find websites, places, products, flights and more using a query Mac Spotlight let us find "anything" in our…
Shares tags with
- Bundle analyzeMost modern apps can’t be built without dependencies, so we need to analyze the final bundle of our application to make sure we are not shipping unnecessary code We can also use…
- Image ThumbnailWe need to resize images to different formats and devices to provide the best user experience Right now we use thumbor docker from Globo, that uses python to provide their tool. I…
- Package Sizemodules npm package sizes matters if you reduce your project dependencies your node modules will be small and it will be fast to run yarn install and also to cache and restore…
Sign in with GitHub to reply.
Select any passage to quote it.
Comments