{
 "article": "https://w.n14n.dev/choosing-algorithms-and-data-structures/",
 "title": "Choosing algorithms and data structures",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-methods-3",
    "choosing-algorithms-in-practice:C-performance-3",
    "choosing-algorithms-in-practice:C-performance-11"
   ]
  },
  {
   "title": "Starting from the operations",
   "anchor": "starting-from-the-operations",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-methods-10",
    "choosing-algorithms-in-practice:C-methods-11",
    "choosing-algorithms-in-practice:C-methods-12",
    "choosing-algorithms-in-practice:C-methods-13",
    "choosing-algorithms-in-practice:C-methods-14",
    "choosing-algorithms-in-practice:C-methods-21",
    "choosing-algorithms-in-practice:C-methods-22",
    "choosing-algorithms-in-practice:C-methods-23",
    "choosing-algorithms-in-practice:C-performance-11",
    "choosing-algorithms-in-practice:C-performance-12"
   ]
  },
  {
   "title": "Why asymptotic complexity misleads",
   "anchor": "why-asymptotic-complexity-misleads",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-methods-1",
    "choosing-algorithms-in-practice:C-methods-2",
    "choosing-algorithms-in-practice:C-methods-3",
    "choosing-algorithms-in-practice:C-methods-4",
    "choosing-algorithms-in-practice:C-methods-5",
    "choosing-algorithms-in-practice:C-performance-3",
    "choosing-algorithms-in-practice:C-performance-1",
    "choosing-algorithms-in-practice:C-performance-13",
    "choosing-algorithms-in-practice:C-performance-6",
    "choosing-algorithms-in-practice:C-methods-25",
    "choosing-algorithms-in-practice:C-methods-24",
    "choosing-algorithms-in-practice:C-performance-15",
    "choosing-algorithms-in-practice:C-performance-16"
   ]
  },
  {
   "title": "Cache-oblivious and cache-conscious designs",
   "anchor": "cache-oblivious-and-cache-conscious-designs",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-performance-4",
    "choosing-algorithms-in-practice:C-performance-5",
    "choosing-algorithms-in-practice:C-performance-7"
   ]
  },
  {
   "title": "Crossovers where simple methods win",
   "anchor": "crossovers-where-simple-methods-win",
   "evidence": "strong",
   "claims": [
    "choosing-algorithms-in-practice:C-performance-8",
    "choosing-algorithms-in-practice:C-performance-14",
    "choosing-algorithms-in-practice:C-performance-10",
    "choosing-algorithms-in-practice:C-performance-9",
    "choosing-algorithms-in-practice:C-methods-16",
    "choosing-algorithms-in-practice:C-methods-15",
    "choosing-algorithms-in-practice:C-performance-6",
    "choosing-algorithms-in-practice:C-performance-1",
    "choosing-algorithms-in-practice:C-performance-13"
   ]
  },
  {
   "title": "Predicting performance without timing",
   "anchor": "predicting-performance-without-timing",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-defaults-17",
    "choosing-algorithms-in-practice:C-defaults-18",
    "choosing-algorithms-in-practice:C-defaults-19",
    "choosing-algorithms-in-practice:C-defaults-16"
   ]
  },
  {
   "title": "Standard-library defaults",
   "anchor": "standard-library-defaults",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-defaults-6",
    "choosing-algorithms-in-practice:C-defaults-3",
    "choosing-algorithms-in-practice:C-defaults-4",
    "choosing-algorithms-in-practice:C-defaults-5",
    "choosing-algorithms-in-practice:C-defaults-7",
    "choosing-algorithms-in-practice:C-defaults-8",
    "choosing-algorithms-in-practice:C-defaults-1",
    "choosing-algorithms-in-practice:C-defaults-2",
    "choosing-algorithms-in-practice:C-performance-17",
    "choosing-algorithms-in-practice:C-methods-15",
    "choosing-algorithms-in-practice:C-methods-16",
    "choosing-algorithms-in-practice:C-methods-17",
    "choosing-algorithms-in-practice:C-performance-2",
    "choosing-algorithms-in-practice:C-performance-18",
    "choosing-algorithms-in-practice:C-performance-19"
   ]
  },
  {
   "title": "Benchmarking that can be trusted",
   "anchor": "benchmarking-that-can-be-trusted",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-methods-4",
    "choosing-algorithms-in-practice:C-methods-5",
    "choosing-algorithms-in-practice:C-methods-8",
    "choosing-algorithms-in-practice:C-methods-7",
    "choosing-algorithms-in-practice:C-methods-6",
    "choosing-algorithms-in-practice:C-methods-9"
   ]
  },
  {
   "title": "Speed of code written by language models",
   "anchor": "speed-of-code-written-by-language-models",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-defaults-10",
    "choosing-algorithms-in-practice:C-defaults-9",
    "choosing-algorithms-in-practice:C-defaults-11",
    "choosing-algorithms-in-practice:C-defaults-12",
    "choosing-algorithms-in-practice:C-defaults-13",
    "choosing-algorithms-in-practice:C-defaults-14",
    "choosing-algorithms-in-practice:C-defaults-15",
    "choosing-algorithms-in-practice:C-methods-18",
    "choosing-algorithms-in-practice:C-methods-19",
    "choosing-algorithms-in-practice:C-methods-20",
    "choosing-algorithms-in-practice:C-methods-26",
    "choosing-algorithms-in-practice:C-methods-27",
    "choosing-algorithms-in-practice:C-methods-28"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "choosing-algorithms-in-practice:C-methods-4",
    "choosing-algorithms-in-practice:C-methods-5",
    "choosing-algorithms-in-practice:C-methods-3",
    "choosing-algorithms-in-practice:C-performance-3",
    "choosing-algorithms-in-practice:C-methods-7",
    "choosing-algorithms-in-practice:C-methods-8",
    "choosing-algorithms-in-practice:C-methods-10",
    "choosing-algorithms-in-practice:C-methods-11",
    "choosing-algorithms-in-practice:C-defaults-13",
    "choosing-algorithms-in-practice:C-defaults-14",
    "choosing-algorithms-in-practice:C-defaults-15",
    "choosing-algorithms-in-practice:C-methods-18",
    "choosing-algorithms-in-practice:C-methods-19"
   ]
  }
 ],
 "claims": [
  {
   "id": "choosing-algorithms-in-practice:C-methods-3",
   "claim": "In the algorithm engineering cycle, experimental results can drive changes to the algorithm design or improved theoretical guarantees tailored to inputs.",
   "quote": "The results of the latter can then be reused for modifications to the algorithmic design, stronger or input-specific theoretic performance guarantees, etc.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-1",
    "key": "chimani2010",
    "author": "Chimani, Markus and Klein, Karsten",
    "year": "2010",
    "title": "Algorithm engineering: Concepts and practice",
    "publisher": "Experimental Methods for the Analysis of Optimization Algorithms, Springer",
    "url": "https://tcs.uos.de/_media/pubs/ae_chapter_preprint.pdf",
    "in_text": "Chimani & Klein (2010)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Authors’ full preprint of a published survey chapter."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "why-asymptotic-complexity-misleads",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-3",
   "claim": "On the largest data set in LaMarca and Ladner’s comparison, memory-tuned quicksort ran 24% faster than radix sort despite executing more than three times as many instructions.",
   "quote": "For the largest data set memory-tuned quicksort ran 24% faster than radix sort even though memory-tuned quicksort performed more than three times as many instructions.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-3",
    "key": "lamarca1999",
    "author": "LaMarca, Anthony and Ladner, Richard E.",
    "year": "1999",
    "title": "The influence of caches on the performance of sorting",
    "publisher": "Journal of Algorithms",
    "url": "https://www.cs.auckland.ac.nz/~mcw/Teaching/refs/sorting/ladner-lamarca-cach-sorting.pdf",
    "in_text": "LaMarca & Ladner (1999)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments and cache-miss analysis of four sorts; method shown; authors work at PARC/UW, evaluate no own product; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "why-asymptotic-complexity-misleads",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-11",
   "claim": "Liu and Vinter reported that converting data from CSR to CSR5 could cost as little as a few sparse matrix–vector multiplications.",
   "quote": "Furthermore, we show that the overhead of the format conversion from the CSR to the CSR5 can be as low as the cost of a few SpMV operations.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-8",
    "key": "liu2015",
    "author": "Liu, Weifeng and Vinter, Brian",
    "year": "2015",
    "title": "CSR5: An efficient storage format for cross-platform sparse matrix-vector multiplication",
    "publisher": "Proceedings of the 29th ACM International Conference on Supercomputing",
    "url": "https://www.ssslab.cn/assets/papers/2015-liu-csr5.pdf",
    "in_text": "Liu & Vinter (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own format and benchmark on 24 matrices and four processors; code released; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-10",
   "claim": "Skiena says his catalogue organizes 75 problems under data structures, numerical and combinatorial algorithms, graph algorithms, hard problems, and computational geometry.",
   "quote": "partitioned among data structures, numerical algorithms, combinatorial algorithms, graph algorithms, hard problems, and computational geometry.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-7",
    "key": "skiena1999",
    "author": "Skiena, Steven",
    "year": "1999",
    "title": "The Stony Brook Algorithms Repository",
    "publisher": "Stony Brook University",
    "url": "https://www3.cs.stonybrook.edu/~skiena/hits/node2.html",
    "in_text": "Skiena (1999)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "describes its own repository without evaluating it; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-11",
   "claim": "The repository cross-links related problem formulations and implementations that solve several problems.",
   "quote": "Each problem page has a link to each relevant implementation page, as well as to pages associated with closely related problems.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-7",
    "key": "skiena1999",
    "author": "Skiena, Steven",
    "year": "1999",
    "title": "The Stony Brook Algorithms Repository",
    "publisher": "Stony Brook University",
    "url": "https://www3.cs.stonybrook.edu/~skiena/hits/node2.html",
    "in_text": "Skiena (1999)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "describes its own repository without evaluating it; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-12",
   "claim": "The fourth edition of Introduction to Algorithms groups single-source and all-pairs shortest paths as separate problems under graph algorithms.",
   "quote": "23 All-Pairs Shortest Paths",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-8",
    "key": "cormen2022",
    "author": "Cormen, Thomas H. and Leiserson, Charles E. and Rivest, Ronald L. and Stein, Clifford",
    "year": "2022",
    "title": "Introduction to algorithms, fourth edition",
    "publisher": "The MIT Press",
    "url": "https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/11599/4e_toc.pdf",
    "in_text": "Cormen et al. (2022)",
    "type": "book",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "publisher's table of contents describing its own book; no results claimed; no stake in results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-13",
   "claim": "The fourth edition of Introduction to Algorithms includes a distinct part for sorting and order statistics, where the same part covers sorting and selecting by rank.",
   "quote": "II Sorting and Order Statistics",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-8",
    "key": "cormen2022",
    "author": "Cormen, Thomas H. and Leiserson, Charles E. and Rivest, Ronald L. and Stein, Clifford",
    "year": "2022",
    "title": "Introduction to algorithms, fourth edition",
    "publisher": "The MIT Press",
    "url": "https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/11599/4e_toc.pdf",
    "in_text": "Cormen et al. (2022)",
    "type": "book",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "publisher's table of contents describing its own book; no results claimed; no stake in results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-14",
   "claim": "Skiena distinguishes searching a static set from dictionary problems because static searching permits simpler and more efficient solutions.",
   "quote": "We treat searching here as a problem distinct from dictionaries because simpler and more efficient solutions emerge when our primary interest is static searching.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-9",
    "key": "skienasearching",
    "author": "Skiena, Steven",
    "year": "n.d.d",
    "title": "Searching",
    "publisher": "Stony Brook Algorithm Repository",
    "url": "https://algorist.com/problems/Searching.html",
    "in_text": "Skiena (n.d.d)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "book excerpt and implementation ratings; opinion, no results shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-21",
   "claim": "A dictionary maintains records keyed for lookup, insertion and deletion.",
   "quote": "locate, insert, or delete the record associated with any query key",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-13",
    "key": "skienadictionaries",
    "author": "Skiena, Steven",
    "year": "n.d.a",
    "title": "Dictionaries",
    "publisher": "Stony Brook Algorithm Repository",
    "url": "https://algorist.com/problems/Dictionaries.html",
    "in_text": "Skiena (n.d.a)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "author's own advice and ratings with book excerpt; opinion, no results; Amazon affiliate links disclosed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-22",
   "claim": "When no insertions occur after the first query, sorting once and scanning in priority order can replace a priority queue.",
   "quote": "If your application performs no insertions after the first query, there is no need for an explicit priority queue.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-14",
    "key": "skienapriority",
    "author": "Skiena, Steven",
    "year": "n.d.c",
    "title": "Priority queues",
    "publisher": "Stony Brook Algorithm Repository",
    "url": "https://algorist.com/problems/Priority_Queues.html",
    "in_text": "Skiena (n.d.c)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "academic repository page with excerpt from own book and implementation ratings given without criteria; advice, no results of its own; affiliate links only"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-23",
   "claim": "Selection asks for an item at a specified rank; a median is a special case.",
   "quote": "Median finding is a special case of the more general selection problem",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-15",
    "key": "skienaselection",
    "author": "Skiena, Steven",
    "year": "n.d.b",
    "title": "Median and selection",
    "publisher": "Stony Brook Algorithm Repository",
    "url": "https://algorist.com/problems/Median_and_Selection.html",
    "in_text": "Skiena (n.d.b)",
    "type": "other",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "curator's problem page with book excerpt and implementation ratings without method; author sells books (affiliate links)"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-12",
   "claim": "The authors found that on their Europe road network, eight InertialFlowCutter cutters gave lower query times than four, at twice the preprocessing time.",
   "quote": "Again, only for Europe, the queries for IFC4 are slower, which is why we recommend using IFC8. The better query running times justify the twice as long preprocessing.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-9",
    "key": "gottesburen2019",
    "author": "Gottesbüren, Lars and Hamann, Michael and Uhl, Tim Niklas and Wagner, Dorothea",
    "year": "2019",
    "title": "Faster and better nested dissection orders for customizable contraction hierarchies",
    "publisher": "Algorithms",
    "url": "https://www.mdpi.com/1999-4893/12/9/196",
    "in_text": "Gottesbüren et al. (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own algorithm and benchmark; page access denied, only abstract read, method partly shown; public funding"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "starting-from-the-operations"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-1",
   "claim": "Sanders defines algorithm engineering around a cycle of algorithm design, analysis, implementation, and experimental evaluation.",
   "quote": "a cycle consisting of algorithm design, analysis, implementation and experimental evaluation",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-2",
    "key": "sanders2009",
    "author": "Sanders, Peter",
    "year": "2009",
    "title": "Algorithm engineering: An attempt at a definition",
    "publisher": "Efficient Algorithms, Lecture Notes in Computer Science 5760, Springer",
    "url": "https://link.springer.com/chapter/10.1007/978-3-642-03456-5_22",
    "in_text": "Sanders (2009)",
    "type": "book",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "Original publisher abstract directly supports the claims recorded for this chapter."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-2",
   "claim": "Sanders includes theoretical modeling, design, and analysis as an ingredient of algorithm engineering.",
   "quote": "Algorithm theory with its process of subsequent modelling, design, and analysis is not a competing approach to algorithmics but an important ingredient of algorithm engineering.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-2",
    "key": "sanders2009",
    "author": "Sanders, Peter",
    "year": "2009",
    "title": "Algorithm engineering: An attempt at a definition",
    "publisher": "Efficient Algorithms, Lecture Notes in Computer Science 5760, Springer",
    "url": "https://link.springer.com/chapter/10.1007/978-3-642-03456-5_22",
    "in_text": "Sanders (2009)",
    "type": "book",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "Original publisher abstract directly supports the claims recorded for this chapter."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-4",
   "claim": "Johnson recommends reporting the algorithms, inputs, computing environment and results in enough detail for readers to attempt comparable experiments.",
   "quote": "describe the algorithms, test instances, computing environment, results, etc. in enough detail",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-3",
    "key": "johnson2001",
    "author": "Johnson, David S.",
    "year": "2001",
    "title": "A theoretician's guide to the experimental analysis of algorithms",
    "publisher": "AT&T Labs Research",
    "url": "https://usermanual.wiki/Pdf/atheoreticiansguidetotheexperimentalanalysisofalgorithms.929924641.pdf",
    "in_text": "Johnson (2001)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Full author draft of an established guide by an experimental algorithms researcher."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads",
    "benchmarking-that-can-be-trusted",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-5",
   "claim": "Johnson treats the dependence of runtime scaling on input structure, as well as on input size, as a question for empirical analysis.",
   "quote": "How does the running time of the algorithm scale with instance size and how does this depend on instance structure?",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-3",
    "key": "johnson2001",
    "author": "Johnson, David S.",
    "year": "2001",
    "title": "A theoretician's guide to the experimental analysis of algorithms",
    "publisher": "AT&T Labs Research",
    "url": "https://usermanual.wiki/Pdf/atheoreticiansguidetotheexperimentalanalysisofalgorithms.929924641.pdf",
    "in_text": "Johnson (2001)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Full author draft of an established guide by an experimental algorithms researcher."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads",
    "benchmarking-that-can-be-trusted",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-1",
   "claim": "In Khuong and Morin’s single-threaded repeated random searches on one array, branch-free variants for arrays smaller than L1 cache sometimes ran twice as fast as branchy variants.",
   "quote": "For small values of n (smaller than the L1 cache), branch-free implementations of search algorithms are considerably faster than their branchy counterparts, sometimes by a factor of two.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-1",
    "key": "khuong2015",
    "author": "Khuong, Paul-Virak and Morin, Pat",
    "year": "2015",
    "title": "Array layouts for comparison-based searching",
    "publisher": "Carleton University",
    "url": "https://cglab.ca/~morin/misc/arraylayout-v2/arraylayouts.pdf",
    "in_text": "Khuong & Morin (2015)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on varied hardware, method shown; NSERC funding, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads",
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-13",
   "claim": "Explicit prefetching made array search much slower, particularly at smaller array sizes, on some of the tested processors including AMD Phenom II and Intel Celeron J1900.",
   "quote": "With a small number of processors (the AMD Phenom II and Intel Celeron J1900 are two examples) the code that does explicit prefetching is much slower, especially for smaller values of n.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-1",
    "key": "khuong2015",
    "author": "Khuong, Paul-Virak and Morin, Pat",
    "year": "2015",
    "title": "Array layouts for comparison-based searching",
    "publisher": "Carleton University",
    "url": "https://cglab.ca/~morin/misc/arraylayout-v2/arraylayouts.pdf",
    "in_text": "Khuong & Morin (2015)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on varied hardware, method shown; NSERC funding, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads",
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-6",
   "claim": "For small arrays in their cross-machine benchmark, Khuong and Morin preferred sorted-order binary search, while for larger arrays Eytzinger layout usually won.",
   "quote": "for small values of n, sorted order, combined with a good implementation of binary search is best. For larger values of n, we arrive at the surprising conclusion that the Eytzinger layout is usually the fastest.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-1",
    "key": "khuong2015",
    "author": "Khuong, Paul-Virak and Morin, Pat",
    "year": "2015",
    "title": "Array layouts for comparison-based searching",
    "publisher": "Carleton University",
    "url": "https://cglab.ca/~morin/misc/arraylayout-v2/arraylayouts.pdf",
    "in_text": "Khuong & Morin (2015)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on varied hardware, method shown; NSERC funding, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads",
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-25",
   "claim": "Schulz and colleagues attributed fewer stalled cycles in branching binary search on larger arrays to speculation beginning later iterations before the separator keys arrived.",
   "quote": "the processor speculates on the outcome of the conditional branches and can continue with the next iteration",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-16",
    "key": "schulz2018",
    "author": "Schulz, Lars-Christian and Broneske, David and Saake, Gunter",
    "year": "2018",
    "title": "An eight-dimensional systematic evaluation of optimized search algorithms on modern processors",
    "publisher": "Proceedings of the VLDB Endowment, 11",
    "url": "https://www.vldb.org/pvldb/vol11/p1550-schulz.pdf",
    "in_text": "Schulz et al. (2018)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark of existing algorithms; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-24",
   "claim": "For large arrays in the Xeon experiments, the branchless binary search variants had the fewest cache misses yet ran slowly; prefetching two keys per iteration caused more misses and improved speed.",
   "quote": "more cache misses, but it also signiﬁcantly improves the performance of the algorithms.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-16",
    "key": "schulz2018",
    "author": "Schulz, Lars-Christian and Broneske, David and Saake, Gunter",
    "year": "2018",
    "title": "An eight-dimensional systematic evaluation of optimized search algorithms on modern processors",
    "publisher": "Proceedings of the VLDB Endowment, 11",
    "url": "https://www.vldb.org/pvldb/vol11/p1550-schulz.pdf",
    "in_text": "Schulz et al. (2018)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark of existing algorithms; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-15",
   "claim": "Inoue’s Haswell mergesort experiment found that the 8-way AVX variant was 42% faster than 4-way SSE with one thread and 14% faster with eight threads.",
   "quote": "By increasing the SIMD length twice, the AVX version was 42% and 14% faster than the SSE version with 1 thread and 8 threads, respectively.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-11",
    "key": "inoue2016",
    "author": "Inoue, Hiroshi",
    "year": "2016",
    "title": "How SIMD width affects energy efficiency: A case study on sorting",
    "publisher": "COOL Chips",
    "url": "https://s3.us.cloud-object-storage.appdomain.cloud/res-files/1580-COOLChips_SIMDsort.pdf",
    "in_text": "Inoue (2016)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own measurements on one desktop PC (hardware, thread counts, DIMM config stated); text only partly legible, no venue named; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-16",
   "claim": "In the authors’ NGINX experiment, OpenSSL’s AVX2 and AVX-512 variants each boosted throughput for uncompressed static files but reduced throughput when NGINX also applied Brotli compression on the fly.",
   "quote": "For example, an NGINX web server serving uncompressed static files via TLS using OpenSSL receives a 20% performance boost from AVX2 OpenSSL, whereas AVX-512 encryption only yields 10% faster throughput compared to non-AVX OpenSSL. If the web server additionally compresses the files on-the-fly with the Brotli compression algorithm, both AVX2 and AVX-512 instead reduce performance",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-12",
    "key": "gottschlag2019",
    "author": "Gottschlag, Mathias and Bellosa, Frank",
    "year": "2019",
    "title": "Reducing AVX-induced frequency variation with core specialization",
    "publisher": "9th Workshop on Systems for Multi-core and Heterogeneous Architectures",
    "url": "https://os.itec.kit.edu/downloads/2019_mathias_gottschlag_sfma_paper.pdf",
    "in_text": "Gottschlag & Bellosa (2019)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own measurements and prototype; hardware, benchmarks and setup shown; work in progress; no stake stated"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "why-asymptotic-complexity-misleads"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-4",
   "claim": "In Brodal et al.’s experiments, tuned Lazy Funnelsort could beat the best tested quicksort on inputs that still fit in RAM.",
   "quote": "our experiments show can be faster than the best Quicksort implementation we are able to find, already for input sizes well within the limits of RAM.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-4",
    "key": "brodal2007",
    "author": "Brodal, Gerth Stølting and Fagerberg, Rolf and Vinther, Kristoffer",
    "year": "2007",
    "title": "Engineering a cache-oblivious sorting algorithm",
    "publisher": "Journal of Experimental Algorithmics",
    "url": "https://cs.au.dk/~gerth/papers/jea07.pdf",
    "in_text": "Brodal et al. (2007)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark experiments, method shown; publicly funded; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "cache-oblivious-and-cache-conscious-designs"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-5",
   "claim": "On disk, the tested Lazy Funnelsort was slower than a carefully implemented multiway mergesort.",
   "quote": "On disk the difference is even more pronounced regarding Quicksort and the cache-aware algorithms, whereas the algorithm is slower than a careful implementation of multiway Mergesort such as TPIE.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-4",
    "key": "brodal2007",
    "author": "Brodal, Gerth Stølting and Fagerberg, Rolf and Vinther, Kristoffer",
    "year": "2007",
    "title": "Engineering a cache-oblivious sorting algorithm",
    "publisher": "Journal of Experimental Algorithmics",
    "url": "https://cs.au.dk/~gerth/papers/jea07.pdf",
    "in_text": "Brodal et al. (2007)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark experiments, method shown; publicly funded; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "cache-oblivious-and-cache-conscious-designs"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-7",
   "claim": "Yotov et al. found their highly optimized cache-oblivious dense linear algebra implementations significantly slower than corresponding cache-conscious implementations.",
   "quote": "Our main finding is that in this domain, even highly optimized cache-oblivious programs perform significantly worse than corresponding cache-conscious programs.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-5",
    "key": "yotov2007",
    "author": "Yotov, Kamen and Roeder, Tom and Pingali, Keshav and Gunnels, John and Gustavson, Fred",
    "year": "2007",
    "title": "An experimental comparison of cache-oblivious and cache-conscious programs",
    "publisher": "Proceedings of the Nineteenth Annual ACM Symposium on Parallel Algorithms and Architectures",
    "url": "https://www.cs.utexas.edu/~pingali/CS378/2008sp/papers/co.pdf",
    "in_text": "Yotov et al. (2007)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmarks; method shown; NSF and IBM/Intel grants disclosed, no stake in outcome"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "cache-oblivious-and-cache-conscious-designs"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-8",
   "claim": "In one of Khuong’s Xeon X5660 experiments, binary search appeared slightly faster than the tested scans up to 32 unsigned values and was slower on 64 values.",
   "quote": "The binary search seems a tiny bit quicker than the other searches on sizes up to 32, and fares badly on 64-element vectors.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-6",
    "key": "khuong2012",
    "author": "Khuong, Paul",
    "year": "2012",
    "title": "Binary search eliminates branch mispredictions",
    "publisher": "Paul Khuong: some Lisp (blog)",
    "url": "https://pvk.ca/Blog/2012/07/03/binary-search-star-eliminates-star-branch-mispredictions/",
    "in_text": "Khuong (2012)",
    "type": "blog",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own microbenchmarks; code, machine and method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-14",
   "claim": "In experiments on arrays of six to 16 integers, sorting networks outperformed insertion sort by at least 1.76×, but the advantage shrank when networks served as Quicksort’s base case.",
   "quote": "the sorting networks outperform insertion sort by a factor of at least 1.76 for any array size between six and 16, and by a factor of 2.72 on average across all machines and array sizes. When integrating sorting networks as a base case sorter into Quicksort, we achieved far less performance improvements over using insertion sort",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-10",
    "key": "bingmann2020",
    "author": "Bingmann, Timo and Marianczuk, Jasper and Sanders, Peter",
    "year": "2020",
    "title": "Engineering faster sorters for small sets of items",
    "publisher": "Software: Practice and Experience",
    "url": "https://publikationen.bibliothek.kit.edu/1000127671/100508962",
    "in_text": "Bingmann et al. (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own experiments on several machines, method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-10",
   "claim": "With extra workspace the two-level implementation achieved 1.19× speedup and crossed over at size 7,680 in the authors’ measurements.",
   "quote": "With additional workspace, our 2-level Strassen can achieve 1.19x speedup with a crossover point at 7,680.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-7",
    "key": "huang2018c",
    "author": "Huang, Jianyu and Yu, Chenhan D. and van de Geijn, Robert A.",
    "year": "2018b",
    "title": "Implementing Strassen's algorithm with CUTLASS on NVIDIA Volta GPUs",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/abs/1808.07984",
    "in_text": "Huang et al. (2018b)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own implementation and speedups reported in abstract; setup not read beyond abstract; authors evaluate own method"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-9",
   "claim": "On a Tesla V100, Huang et al. reported a size-1,536 crossover for their one-level Strassen implementation versus cuBLAS SGEMM and at most a 1.11× speedup.",
   "quote": "Overall, our 1-level Strassen can achieve up to 1.11x speedup with a crossover point as small as 1,536 compared to cublasSgemm on a NVIDIA Tesla V100 GPU.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-7",
    "key": "huang2018c",
    "author": "Huang, Jianyu and Yu, Chenhan D. and van de Geijn, Robert A.",
    "year": "2018b",
    "title": "Implementing Strassen's algorithm with CUTLASS on NVIDIA Volta GPUs",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/abs/1808.07984",
    "in_text": "Huang et al. (2018b)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own implementation and speedups reported in abstract; setup not read beyond abstract; authors evaluate own method"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-16",
   "claim": "On the Intel2S machine with uniform input, initial overhead made sequential samplesort slower than BlockQuicksort at sizes of at most 2¹⁵ items.",
   "quote": "Due to the initial overhead, IS4o is slower than BlockQ for n ≤ 2¹⁵.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-10",
    "key": "axtmann2017",
    "author": "Axtmann, Michael and Witt, Sascha and Ferizovic, Daniel and Sanders, Peter",
    "year": "2017",
    "title": "In-place parallel super scalar samplesort (IPS4o)",
    "publisher": "25th Annual European Symposium on Algorithms (ESA 2017), Leibniz International Proceedings in Informatics",
    "url": "https://drops.dagstuhl.de/storage/00lipics/lipics-vol087-esa2017/LIPIcs.ESA.2017.9/LIPIcs.ESA.2017.9.pdf",
    "in_text": "Axtmann et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own algorithm and extensive experiments; ESA 2017 (DOI 10.4230/LIPIcs.ESA.2017.9); academic authors, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win",
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-15",
   "claim": "Axtmann and colleagues reported GCC STL introsort at least 1.86 times slower than their sequential in-place samplesort for 2³² uniform items.",
   "quote": "are at least a factor of 1.86 slower than",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-10",
    "key": "axtmann2017",
    "author": "Axtmann, Michael and Witt, Sascha and Ferizovic, Daniel and Sanders, Peter",
    "year": "2017",
    "title": "In-place parallel super scalar samplesort (IPS4o)",
    "publisher": "25th Annual European Symposium on Algorithms (ESA 2017), Leibniz International Proceedings in Informatics",
    "url": "https://drops.dagstuhl.de/storage/00lipics/lipics-vol087-esa2017/LIPIcs.ESA.2017.9/LIPIcs.ESA.2017.9.pdf",
    "in_text": "Axtmann et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own algorithm and extensive experiments; ESA 2017 (DOI 10.4230/LIPIcs.ESA.2017.9); academic authors, no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "crossovers-where-simple-methods-win",
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-17",
   "claim": "The Execution-Cache-Memory model fits measured performance within 10% across the three memory-bound phases of the single-core two-dimensional Jacobi sweep shown in Figure 3.",
   "quote": "The model fits well within a 10% margin",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-12",
    "key": "stengel2015",
    "author": "Stengel, Holger and Treibig, Jan and Hager, Georg and Wellein, Gerhard",
    "year": "2015",
    "title": "Quantifying performance bottlenecks of stencil computations using the Execution-Cache-Memory model",
    "publisher": "arXiv",
    "url": "https://arxiv.org/html/1410.5010",
    "in_text": "Stengel et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own model and measurements; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "predicting-performance-without-timing"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-18",
   "claim": "The Roofline model did not distinguish spatial blocking strategies for the 2D Jacobi stencil in Figure 4.",
   "quote": "Roofline does not yield different predictions across different blocking strategies.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-12",
    "key": "stengel2015",
    "author": "Stengel, Holger and Treibig, Jan and Hager, Georg and Wellein, Gerhard",
    "year": "2015",
    "title": "Quantifying performance bottlenecks of stencil computations using the Execution-Cache-Memory model",
    "publisher": "arXiv",
    "url": "https://arxiv.org/html/1410.5010",
    "in_text": "Stengel et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own model and measurements; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "predicting-performance-without-timing"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-19",
   "claim": "The authors report overoptimistic ECM predictions for certain tight loops with low in-core time and high-frequency memory interfaces.",
   "quote": "we have observed the model to be too optimistic for the memory data transfer time of tight loops",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-12",
    "key": "stengel2015",
    "author": "Stengel, Holger and Treibig, Jan and Hager, Georg and Wellein, Gerhard",
    "year": "2015",
    "title": "Quantifying performance bottlenecks of stencil computations using the Execution-Cache-Memory model",
    "publisher": "arXiv",
    "url": "https://arxiv.org/html/1410.5010",
    "in_text": "Stengel et al. (2015)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own model and measurements; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "predicting-performance-without-timing"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-16",
   "claim": "Small test cases can predict large-case runtimes poorly when cache behavior changes with size.",
   "quote": "small inputs may be poor predictors of the performance for large inputs due to changes in cache behavior",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-11",
    "key": "landrum1998",
    "author": "Landrum, Joshua and Hardwick, Janis and Stout, Quentin F.",
    "year": "1998",
    "title": "Predicting algorithm performance",
    "publisher": "Computing Science and Statistics",
    "url": "https://web.eecs.umich.edu/~qstout/pap/IF98pred.pdf",
    "in_text": "Landrum et al. (1998)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "proposes a prediction method; timing examples illustrative, not a systematic evaluation; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "predicting-performance-without-timing"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-6",
   "claim": "V8’s 2019 note identifies Timsort as V8’s implementation and says the JavaScript specification leaves algorithm choice free subject to required stability.",
   "quote": "Note: Although stability is now required per spec, JavaScript engines are still free to implement whatever sorting algorithm they prefer. V8 uses Timsort, for example.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-4",
    "key": "v82019",
    "author": "{V8}",
    "year": "2019",
    "title": "Stable Array.prototype.sort",
    "publisher": "V8",
    "url": "https://v8.dev/features/stable-sort",
    "in_text": "V8 (2019)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "engine team describes its own spec change and behaviour; no results or evaluation claims"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-3",
   "claim": "Rust documents ipnsort as the current implementation basis for unstable slice sorting.",
   "quote": "The current implementation is based on ipnsort by Lukas Bergdoll and Orson Peters",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-2",
    "key": "rustslice",
    "author": "{The Rust Project Developers}",
    "year": "n.d.c",
    "title": "slice (primitive type), Rust standard library",
    "publisher": "Rust documentation",
    "url": "https://doc.rust-lang.org/std/primitive.slice.html",
    "in_text": "Developers (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own reference for its standard library; describes how it works, no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-4",
   "claim": "Rust documents driftsort as the current implementation basis for stable slice sorting.",
   "quote": "The current implementation is based on driftsort by Orson Peters and Lukas Bergdoll",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-2",
    "key": "rustslice",
    "author": "{The Rust Project Developers}",
    "year": "n.d.c",
    "title": "slice (primitive type), Rust standard library",
    "publisher": "Rust documentation",
    "url": "https://doc.rust-lang.org/std/primitive.slice.html",
    "in_text": "Developers (n.d.c)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's own reference for its standard library; describes how it works, no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-5",
   "claim": "For Arrays.sort(int[]), Oracle’s JDK 25 implementation note identifies dual-pivot quicksort.",
   "quote": "The sorting algorithm is a Dual-Pivot Quicksort by Vladimir Yaroslavskiy, Jon Bentley, and Joshua Bloch.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-3",
    "key": "oraclearrays",
    "author": "{Oracle}",
    "year": "n.d.b",
    "title": "Arrays (Java SE 25 and JDK 25)",
    "publisher": "Java SE 25 API documentation, Oracle",
    "url": "https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Arrays.html",
    "in_text": "Oracle (n.d.b)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer's reference page for its own API; says what it does"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-7",
   "claim": "CPython 3.14.0 documents using Powersort as the merge strategy in its adaptive list sort.",
   "quote": "The code now uses the \"powersort\" merge strategy from:",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-5",
    "key": "psf2025",
    "author": "{Python Software Foundation}",
    "year": "2025b",
    "title": "listsort.txt",
    "publisher": "CPython v3.14.0 source",
    "url": "https://raw.githubusercontent.com/python/cpython/v3.14.0/Objects/listsort.txt",
    "in_text": "Foundation (2025b)",
    "type": "documentation",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "designer's own design note; comparison counts with method, but argues for own algorithm; data checkable"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-8",
   "claim": "The libc++ implementation in LLVM 20.1.0 combines introsort with small-input insertion sort and other techniques.",
   "quote": "The main sorting function.  Implements introsort combined with other ideas:\n//  - option of using block quick sort for partitioning,\n//  - guarded and unguarded insertion sort for small lengths,",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-6",
    "key": "llvmsort",
    "author": "{LLVM Project}",
    "year": "n.d.c",
    "title": "sort.h",
    "publisher": "libc++ in LLVM 20.1.0",
    "url": "https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-20.1.0/libcxx/include/__algorithm/sort.h",
    "in_text": "Project (n.d.c)",
    "type": "other",
    "read": "raw",
    "trust": "high",
    "trust_reason": "maintainers' own source code describing what the code does; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-1",
   "claim": "Go 1.24’s built-in map implementation draws substantially on Peter Mattis’s Go adaptation of Swiss Tables.",
   "quote": "The Go 1.24 built-in map implementation is heavily based on Peter’s work.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-1",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-2",
   "claim": "The Go maintainers report mixed microbenchmark results, including regressions in edge cases, after adopting Swiss Tables.",
   "quote": "Exact performance improvement varies quite a bit due to the wide variety of operations and uses of maps, and some edge cases do regress compared to Go 1.23.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-1",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-17",
   "claim": "Go maintainers reported map microbenchmarks up to 60% faster in Go 1.24 than in 1.23, with some regressions, and roughly 1.5% geometric-mean CPU-time improvement in full application benchmarks.",
   "quote": "In microbenchmarks, map operations are up to 60% faster than in Go 1.23. Exact performance improvement varies quite a bit due to the wide variety of operations and uses of maps, and some edge cases do regress compared to Go 1.23. Overall, in full application benchmarks, we found a geometric mean CPU time improvement of around 1.5%.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-1",
    "key": "pratt2025",
    "author": "Pratt, Michael",
    "year": "2025",
    "title": "Faster Go maps with Swiss Tables",
    "publisher": "The Go Blog",
    "url": "https://go.dev/blog/swisstable",
    "in_text": "Pratt (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "describes own product design (Go map) without evaluating; benchmark claims lack setup but are linked; design description is the main content"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-17",
   "claim": "For one million uniform random numeric keys on a single M1 Max thread, the VQSort authors measured a threefold to eightfold speedup over the standard library sort.",
   "quote": "8x speedup over the standard library.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-11",
    "key": "blacher2022",
    "author": "Blacher, Mark and Giesen, Joachim and Sanders, Peter and Wassenberg, Jan",
    "year": "2022",
    "title": "Vectorized and performance-portable quicksort",
    "publisher": "arXiv",
    "url": "https://arxiv.org/html/2205.05982",
    "in_text": "Blacher et al. (2022)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own algorithm and benchmarks, method and code shown; one author works at Google, whose library holds the code, undisclosed interest"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-2",
   "claim": "Integrating vectorized Quicksort into the parallel IPS⁴o sorter gave a geometric mean speedup of 1.59 in the authors’ experiments.",
   "quote": "with a geometric mean speedup of 1.59.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-2",
    "key": "wassenberg2022",
    "author": "Wassenberg, Jan and Blacher, Mark and Giesen, Joachim and Sanders, Peter",
    "year": "2022",
    "title": "Vectorized and performance-portable quicksort",
    "publisher": "Software: Practice and Experience",
    "url": "https://onlinelibrary.wiley.com/doi/abs/10.1002/spe.3142",
    "in_text": "Wassenberg et al. (2022)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "Primary paper reports measured results and experimental methods."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-18",
   "claim": "V8 measured up to 17× speedup for Timsort versus Quicksort on a constructed input consisting of two reverse-sorted sequences.",
   "quote": "The chart uses Quicksort as a baseline and shows the speedup of Timsort (up to 17× in the case of “DownDown” where the array consists of two reverse-sorted sequences).",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-13",
    "key": "zund2018",
    "author": "Zünd, Simon",
    "year": "2018",
    "title": "Getting things sorted in V8",
    "publisher": "V8",
    "url": "https://v8.dev/blog/array-sort",
    "in_text": "Zünd (2018)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmarks of own product; method only sketched, no data or code; interested author"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-performance-19",
   "claim": "V8 maintainers reported that the Timsort switch left performance about unchanged on nearly all Web Tooling Benchmark workloads, with chai the exception.",
   "quote": "In almost all benchmarks we retain the same performance with the exception of chai.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-performance-13",
    "key": "zund2018",
    "author": "Zünd, Simon",
    "year": "2018",
    "title": "Getting things sorted in V8",
    "publisher": "V8",
    "url": "https://v8.dev/blog/array-sort",
    "in_text": "Zünd (2018)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own benchmarks of own product; method only sketched, no data or code; interested author"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "standard-library-defaults"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-8",
   "claim": "In Kalibera and Jones's sample of selected 2011 systems venues, 71 of the 90 papers reporting time omitted a measure of variation.",
   "quote": "71 failed to provide any measure of variation",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-5",
    "key": "kalibera2013",
    "author": "Kalibera, Tomas and Jones, Richard",
    "year": "2013",
    "title": "Rigorous benchmarking in reasonable time",
    "publisher": "ACM SIGPLAN International Symposium on Memory Management (ISMM 2013)",
    "url": "https://kar.kent.ac.uk/33611/45/p63-kaliber.pdf",
    "in_text": "Kalibera & Jones (2013)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own statistical method for benchmarking, with experiments shown; ACM ISMM 2013; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "benchmarking-that-can-be-trusted",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-7",
   "claim": "Kalibera and Jones recommend concentrating benchmark repetitions at the build, execution, or iteration level that produces the greatest uncertainty.",
   "quote": "repetition is most needed where most uncertainty arises (whether between builds, between executions or between iterations).",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-5",
    "key": "kalibera2013",
    "author": "Kalibera, Tomas and Jones, Richard",
    "year": "2013",
    "title": "Rigorous benchmarking in reasonable time",
    "publisher": "ACM SIGPLAN International Symposium on Memory Management (ISMM 2013)",
    "url": "https://kar.kent.ac.uk/33611/45/p63-kaliber.pdf",
    "in_text": "Kalibera & Jones (2013)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own statistical method for benchmarking, with experiments shown; ACM ISMM 2013; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "benchmarking-that-can-be-trusted",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-6",
   "claim": "Mytkowicz and colleagues propose repeating measurements over multiple randomized setups to reduce bias due to particular experimental conditions.",
   "quote": "runs each experiment in many different experimental setups",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-4",
    "key": "mytkowicz2009",
    "author": "Mytkowicz, Todd and Diwan, Amer and Hauswirth, Matthias and Sweeney, Peter F.",
    "year": "2009",
    "title": "Producing wrong data without doing anything obviously wrong!",
    "publisher": "ACM SIGPLAN Notices",
    "url": "https://john.cs.olemiss.edu/~hcc/researchMethods/notes/localcopy/mytkowicz-wrong-data.pdf",
    "in_text": "Mytkowicz et al. (2009)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Full text of primary experiments and literature review on one aspect of measurement bias."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "benchmarking-that-can-be-trusted"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-9",
   "claim": "Depending on machine and operating system, only 30.0–43.5% of the VM and benchmark pairs studied by Barrett and colleagues consistently reached steady peak performance.",
   "quote": "Only 30.0–43.5% (depending on the machine and OS combination) of ⟨VM, benchmark⟩ pairs consistently reach a steady state of peak performance.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-6",
    "key": "barrett2017",
    "author": "Barrett, Edd and Bolz-Tereick, Carl Friedrich and Killick, Rebecca and Mount, Sarah and Tratt, Laurence",
    "year": "2017",
    "title": "Virtual machine warmup blows hot and cold",
    "publisher": "OOPSLA 2017",
    "url": "https://soft-dev.org/pubs/html/barrett_bolz-tereick_killick_mount_tratt__virtual_machine_warmup_blows_hot_and_cold_v6/",
    "in_text": "Barrett et al. (2017)",
    "type": "peer-reviewed",
    "read": "raw",
    "trust": "medium",
    "trust_reason": "own benchmarks, method shown in detail; Oracle Labs gift disclosed, Oracle makes some VMs tested"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "benchmarking-that-can-be-trusted"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-10",
   "claim": "In EffiBench, GPT-4’s passing generated solutions averaged 3.12 times the execution time of the corresponding human canonical solutions.",
   "quote": "GPT-4 generated code has an average 3.12 times execution time that of the human-written canonical solutions.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-7",
    "key": "huang2024b",
    "author": "Huang, Dong and Qing, Yuhao and Shang, Weiyi and Cui, Heming and Zhang, Jie M.",
    "year": "2024b",
    "title": "EffiBench: Benchmarking the efficiency of automatically generated code",
    "publisher": "NeurIPS 2024, Datasets and Benchmarks Track",
    "url": "https://papers.neurips.cc/paper_files/paper/2024/file/15807b6e09d691fe5e96cdecde6d7b80-Paper-Datasets_and_Benchmarks_Track.pdf",
    "in_text": "Huang et al. (2024b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark, 1,000 problems, 42 models; method and code shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-9",
   "claim": "EffiBench only measures efficiency on outputs passing the supplied correctness tests for the model’s problem.",
   "quote": "then execute these correct code and calculate the efficiency metrics",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-7",
    "key": "huang2024b",
    "author": "Huang, Dong and Qing, Yuhao and Shang, Weiyi and Cui, Heming and Zhang, Jie M.",
    "year": "2024b",
    "title": "EffiBench: Benchmarking the efficiency of automatically generated code",
    "publisher": "NeurIPS 2024, Datasets and Benchmarks Track",
    "url": "https://papers.neurips.cc/paper_files/paper/2024/file/15807b6e09d691fe5e96cdecde6d7b80-Paper-Datasets_and_Benchmarks_Track.pdf",
    "in_text": "Huang et al. (2024b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own benchmark, 1,000 problems, 42 models; method and code shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-11",
   "claim": "PROBE’s qualitative timeout analysis identifies inefficient algorithms or logical issues, including brute-force enumeration and repeated expensive operations after updates.",
   "quote": "Timeout errors were often caused by inefficient algorithms and logical issues. Models sometimes defaulted to brute-force enumeration or repeatedly performed expensive operations such as full-array reversals, sorts, or data-structure rebuilds after every update.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-8",
    "key": "nogueira2026b",
    "author": "Nogueira, Rodrigo Pato and Vieira, Marco and Campos, João R.",
    "year": "2026b",
    "title": "PROBE: Benchmarking code generation in large language models",
    "publisher": "Empirical Software Engineering",
    "url": "https://link.springer.com/article/10.1007/s10664-026-10904-5",
    "in_text": "Nogueira et al. (2026b)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Peer-reviewed benchmark with qualitative examples of model failures."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-12",
   "claim": "In SWE-fficiency’s reported evaluation, the top tested agents averaged under 0.23 times the expert speedup.",
   "quote": "On average, top agents achieve less than 0.23x the expert speedup",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-9",
    "key": "ma2026g",
    "author": "Ma, Jeffrey Jian and Hashemi, Milad and Yazdanbakhsh, Amir and Swersky, Kevin and Press, Ofir and Li, Enhui and others",
    "year": "2026f",
    "title": "SWE-fficiency: Can language models optimize real-world repositories on real workloads?",
    "publisher": "Proceedings of the 43rd International Conference on Machine Learning",
    "url": "https://proceedings.mlr.press/v306/ma26l.html",
    "in_text": "Ma et al. (2026f)",
    "type": "peer-reviewed",
    "read": "abstract",
    "trust": "high",
    "trust_reason": "own benchmark; method shown; 498 tasks; no stake in results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-13",
   "claim": "On the selected 66 GSO and SWE-fficiency tasks where no examined public patch reached reference speed, 32 best public patches shared the reference’s high-level optimization category.",
   "quote": "Overall, 32/66 best public patches use the same high-level category as the reference patch, and 34/66 use a different category or show no visible production optimization.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-10",
    "key": "chen2026r",
    "author": "Chen, Zhi and Sun, Zhensu and Shi, Yuling and Lo, David and Jiang, Lingxiao",
    "year": "2026d",
    "title": "Are performance-optimization benchmarks reliably measuring coding agents?",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.01211v1",
    "in_text": "Chen et al. (2026d)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own replay audit of 740 patches; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-14",
   "claim": "The independent audit found that broad optimization-category agreement alone did not explain the remaining speed gap in the selected underperforming patches.",
   "quote": "Category alignment is therefore only a partial signal, not a sufficient condition for near-reference performance.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-10",
    "key": "chen2026r",
    "author": "Chen, Zhi and Sun, Zhensu and Shi, Yuling and Lo, David and Jiang, Lingxiao",
    "year": "2026d",
    "title": "Are performance-optimization benchmarks reliably measuring coding agents?",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.01211v1",
    "in_text": "Chen et al. (2026d)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own replay audit of 740 patches; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-defaults-15",
   "claim": "Official reference patches satisfied original validity rules in every cross-machine replay for 39 of 102 GSO, 11 of 140 SWE-Perf and 411 of 498 SWE-fficiency tasks.",
   "quote": "their reference patches satisfy the original benchmark validity rules in every cross-machine replay for only 39/102 GSO tasks, 11/140 SWE-Perf tasks, and 411/498 SWE-fficiency tasks",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-10",
    "key": "chen2026r",
    "author": "Chen, Zhi and Sun, Zhensu and Shi, Yuling and Lo, David and Jiang, Lingxiao",
    "year": "2026d",
    "title": "Are performance-optimization benchmarks reliably measuring coding agents?",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.01211v1",
    "in_text": "Chen et al. (2026d)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own replay audit of 740 patches; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-18",
   "claim": "Across ten public submissions per task, at least one matched or beat the reference on 384 of 450 replay-valid GSO and SWE-fficiency tasks.",
   "quote": "matches or beats the reference patch on 85.3% (384/450) of replay-valid GSO and SWE-fficiency tasks",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-10",
    "key": "chen2026r",
    "author": "Chen, Zhi and Sun, Zhensu and Shi, Yuling and Lo, David and Jiang, Lingxiao",
    "year": "2026d",
    "title": "Are performance-optimization benchmarks reliably measuring coding agents?",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.01211v1",
    "in_text": "Chen et al. (2026d)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own replay audit of 740 patches; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-19",
   "claim": "Among eight shared submissions, the GSO and SWE-fficiency official rankings disagreed on nine of 28 pairs.",
   "quote": "the official rankings disagree on 9 of 28 pairwise submission comparisons",
   "source": {
    "id": "choosing-algorithms-in-practice:S-defaults-10",
    "key": "chen2026r",
    "author": "Chen, Zhi and Sun, Zhensu and Shi, Yuling and Lo, David and Jiang, Lingxiao",
    "year": "2026d",
    "title": "Are performance-optimization benchmarks reliably measuring coding agents?",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.01211v1",
    "in_text": "Chen et al. (2026d)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own replay audit of 740 patches; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models",
    "further-reading"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-20",
   "claim": "On 1,345 tasks with no significant baseline timing difference, tests generated using DeepSeek-v3.1 and GPT-4o revealed significant improvements for 24.01% and 25.43% of tasks, respectively.",
   "quote": "reveal statistically significant improvements in 24.01% and 25.43% of the tasks, respectively",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-12",
    "key": "le2026",
    "author": "Le, Nhat Minh and Xu, Yisen and Wang, Zhijie and Chen, Tse-Hsun",
    "year": "2026",
    "title": "Rethinking code performance benchmarks for LLMs",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.07619v1",
    "in_text": "Le et al. (2026)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own measurement of 1,538 tasks, 30 runs each; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-26",
   "claim": "With GPT-5.1, PerfAgent's hack-adjusted expert-match rates rose from 19.6% to 39.2% on GSO and from 26% to 74% on SWE-fficiency-Lite versus OpenHands.",
   "quote": "improving from 19.6% to 39.2% on GSO and from 26% to 74% on SWE-fficiency-Lite.",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-17",
    "key": "deng2026",
    "author": "Deng, Ryan and Liu, Yuanzhe and Lipka, Bastian and Ma, Yao and Chen, Xuhao and Kaler, Tim and others",
    "year": "2026",
    "title": "PerfAgent: Profiler-guided iterative refinement for repository-level code optimization",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.19653v1",
    "in_text": "Deng et al. (2026)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method evaluated by its authors against baselines, single run, no conflict statement"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-27",
   "claim": "PerfAgent's GSO correctness rate was 96.1%, versus 88.2% for OpenHands with the same GPT-5.1 model.",
   "quote": "PerfAgent  | 96.1  | 77.5  | 44.1  | 39.2",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-17",
    "key": "deng2026",
    "author": "Deng, Ryan and Liu, Yuanzhe and Lipka, Bastian and Ma, Yao and Chen, Xuhao and Kaler, Tim and others",
    "year": "2026",
    "title": "PerfAgent: Profiler-guided iterative refinement for repository-level code optimization",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.19653v1",
    "in_text": "Deng et al. (2026)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method evaluated by its authors against baselines, single run, no conflict statement"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  },
  {
   "id": "choosing-algorithms-in-practice:C-methods-28",
   "claim": "The PerfAgent comparison against the oracle selection from five OpenHands runs used hidden performance and correctness tests unavailable to the agent during inference.",
   "quote": "hidden performance and correctness tests from the evaluation harness that are not made available",
   "source": {
    "id": "choosing-algorithms-in-practice:S-methods-17",
    "key": "deng2026",
    "author": "Deng, Ryan and Liu, Yuanzhe and Lipka, Bastian and Ma, Yao and Chen, Xuhao and Kaler, Tim and others",
    "year": "2026",
    "title": "PerfAgent: Profiler-guided iterative refinement for repository-level code optimization",
    "publisher": "arXiv preprint",
    "url": "https://arxiv.org/html/2607.19653v1",
    "in_text": "Deng et al. (2026)",
    "type": "preprint",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own method evaluated by its authors against baselines, single run, no conflict statement"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "speed-of-code-written-by-language-models"
   ]
  }
 ],
 "sources": {
  "axtmann2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "barrett2017": {
   "grade": "medium",
   "why": "Peer-reviewed, read in full."
  },
  "bingmann2020": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "blacher2022": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "brodal2007": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "chen2026r": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "chimani2010": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "cormen2022": {
   "grade": "solid",
   "why": "Book, read in large part."
  },
  "deng2026": {
   "grade": "medium",
   "why": "Preprint, read in large part."
  },
  "gottesburen2019": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "gottschlag2019": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "huang2018c": {
   "grade": "medium",
   "why": "Preprint, read in large part."
  },
  "huang2024b": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "inoue2016": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "johnson2001": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "kalibera2013": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "khuong2012": {
   "grade": "solid",
   "why": "Blog post, read in large part."
  },
  "khuong2015": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "lamarca1999": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "landrum1998": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "le2026": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "liu2015": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "llvmsort": {
   "grade": "solid",
   "why": "Read in full."
  },
  "ma2026g": {
   "grade": "solid",
   "why": "Peer-reviewed, abstract only."
  },
  "mytkowicz2009": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "nogueira2026b": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "oraclearrays": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "pratt2025": {
   "grade": "medium",
   "why": "Vendor page, read in large part."
  },
  "psf2025": {
   "grade": "medium",
   "why": "Documentation, read in full."
  },
  "rustslice": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "sanders2009": {
   "grade": "solid",
   "why": "Book, abstract only."
  },
  "schulz2018": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "skiena1999": {
   "grade": "solid",
   "why": "Read in full."
  },
  "skienadictionaries": {
   "grade": "medium",
   "why": "Read in full."
  },
  "skienapriority": {
   "grade": "medium",
   "why": "Read in full."
  },
  "skienasearching": {
   "grade": "medium",
   "why": "Read in full."
  },
  "skienaselection": {
   "grade": "medium",
   "why": "Read in full."
  },
  "stengel2015": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "v82019": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "wassenberg2022": {
   "grade": "solid",
   "why": "Peer-reviewed, abstract only."
  },
  "yotov2007": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "zund2018": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  }
 }
}
