Posts

Showing posts from November, 2022

computer performance...

Image
Monday, November 7, 2022 Algorithmic efficiency From Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/Algorithmic_efficiency   In  computer science ,  algorithmic efficiency  is a property of an  algorithm  which relates to the amount of  computational resources  used by the algorithm. An algorithm must be  analyzed  to determine its resource usage, and the efficiency of an algorithm can be measured based on the usage of different resources. Algorithmic efficiency can be thought of as analogous to engineering  productivity  for a repeating or continuous process. For maximum efficiency it is desirable to minimize resource usage. However, different resources such as  time  and  space  complexity cannot be compared directly, so which of two algorithms is considered to be more efficient often depends on which measure of efficiency is considered most important. For example,  bubble sort  and  timsort  are both  algorithms to sort a list  of items from smallest to largest. Bubb