We revisit the classical QuickSort and QuickSelect algorithms, under a complexity model that fully takes into account the elementary comparisons between symbols composing the records to be processed. Our probabilistic models belong to a broad category of information sources that encompasses memoryless (i.e., independent-symbols) and Markov sources, as well as many unbounded-correlation sources. We establish that, under our conditions, the average-case complexity of QuickSort is O(n log 2 n) [rather than O(n log n), classically], whereas that of QuickSelect remains O(n). Explicit expressions for the implied constants are provided by our combinatorial-analytic methods.Introduction. Every student of a basic algorithms course is taught that, on average, the complexity of Quicksort is O(n log n), that of binary search is O(log n), and that of radix-exchange sort is O(n log n); see for instance [13,16]. Such statements are based on specific assumptions-that the comparison of data items (for the first two) and the comparison of symbols (for the third one) have unit cost-and they have the obvious merit of offering an easy-to-grasp picture of the complexity landscape. However, as noted by Sedgewick, these simplifying assumptions suffer from limitations: they do not make possible a precise assessment of the relative merits of algorithms and data structures that resort to different methods (e.g., comparison-based versus radix-based sorting) in a way that would satisfy the requirements of either information theory or algorithms engineering. Indeed, computation is not reduced to its simplest terms, namely, the manipulation of totally elementary symbols, such as bits, bytes, characters. Furthermore, such simplified analyses say little about a great many application contexts, in databases or natural language processing, for instance, where information is highly "non-atomic", in the sense that it does not plainly reduce to a single machine word.First, we observe that, for commonly used data models, the mean costs S n and K n of any algorithm under the symbol-comparison and the key-comparison model, respectively, are connected by the universal relation S n = K n · O(log n).(This results from the fact that at most O(log n) symbols suffice, with high probability, to distinguish n keys; cf. the analysis of the height of digital trees,