Article information
- Publisher
- Free Journal Network
- Publication
- Published 3 June 2019
- Full text
- Read the article
Countries with citations
No data yet
Usage
Phase 3: not collected yet
Abstract
The standard library of popular languages like C++, Java, and C# provide sorted container data types based on binary tree data structures. While Python (1995) has risen in popularity, the Standard Library still lacks these common data types. Part of the challenge has been Python's rich object model which makes binary trees implemented in Python slow in terms of both memory and processor usage. To overcome the overhead of the interpreter, C-extensions are used by the Python core developers. In doing so, flexibility is tradeoff for performance. The goal of the Python core developers is to provide the right set of high-level APIs so that algorithms and data structures can be implemented efficiently. The Python Sorted Containers library uses Python's high-level APIs to efficiently implement sorted container data structures. Python's collections data structures are based on three data types: sequences, mappings, and sets. These data types are implemented and most commonly used as list, dictionary, and set objects. The Python Sorted Containers library introduces new variants of these three data types that are each sorted: sorted list, sorted dictionary, and sorted set. In each case, the original semantics are extended to preserve sorted order of the contained elements with respect to mutating operations. When unable to preserve the sorted order constraint, the functionality is either non-existent or an error is raised from the library. Python's "sorted" built-in function also supports a "key" parameter which specifies a callable used to extract a comparison key from elements. When initializing a sorted container data type, the key paramemter is likewise supported.
Citations per year
| Year | Citations |
|---|---|
| 2019 | 0 |
| 2020 | 0 |
| 2021 | 1 |
| 2022 | 2 |
| 2023 | 0 |
| 2024 | 0 |
| 2025 | 2 |
| 2026 | 0 |
OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.
Works citing this article
OpenAlex counts 5 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.
Where its authors are based
Countries of the institutions the article's authors were affiliated to when it was published.
- AUTHORS
- CITATIONS No data yet
- USAGE Phase 3
No affiliations with a known country in these years yet.