Lightweight Semiformal Time Complexity Analysis for Purely Functional Data Structures

被引:45
|
作者
Danielsson, Nils Anders [1 ]
机构
[1] Chalmers Univ Technol, Gothenburg, Sweden
基金
英国工程与自然科学研究理事会;
关键词
Languages; performance; theory; verification;
D O I
10.1145/1328438.1328457
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Okasaki and others have demonstrated how purely functional data structures that are efficient even in the presence of persistence can be constructed. To achieve good time bounds essential use is often made of laziness. The associated complexity analysis is frequently subtle, requiring careful attention to detail, and hence formalising it is valuable. This paper describes a simple library which can be used to make the analysis of a class of purely functional data structures and algorithms almost fully formal. The basic idea is to use the type system to annotate every function with the time required to compute its result. An annotated monad is used to combine time complexity annotations. The library has been used to analyse some existing data structures, for instance the deque operations of Hinze and Paterson's finger trees.
引用
收藏
页码:133 / 144
页数:12
相关论文
共 50 条
  • [31] Detecting and visualizing differences in brain structures with SPHARM and functional data analysis
    Ferrando, L.
    Ventura-Campos, N.
    Epifanio, I
    NEUROIMAGE, 2020, 222
  • [32] On time complexity analysis of algorithms
    Tarek, Ahmed
    WMSCI 2005: 9th World Multi-Conference on Systemics, Cybernetics and Informatics, Vol 3, 2005, : 221 - 226
  • [33] Visualized Analysis of Tourism Big Data based on Real-Time Analysis and Complexity Measurement
    Liu, Ling
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON INVENTIVE COMPUTATION TECHNOLOGIES (ICICT 2021), 2021, : 497 - 500
  • [34] Trading signal, functional data analysis and time series momentum
    Boubaker, Sabri
    Liu, Zhenya
    Lu, Shanglin
    Zhang, Yifan
    FINANCE RESEARCH LETTERS, 2021, 42
  • [35] Time normalization of voice signals using functional data analysis
    Lucero, JC
    Koenig, LL
    JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 2000, 108 (04): : 1408 - 1420
  • [36] Functional time series analysis of spatio–temporal epidemiological data
    M. D. Ruiz-Medina
    R. M. Espejo
    M. D. Ugarte
    A. F. Militino
    Stochastic Environmental Research and Risk Assessment, 2014, 28 : 943 - 954
  • [37] Adding tuples to Java']Java: a study in lightweight data structures
    van Reeuwijk, C
    Sips, HJ
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2005, 17 (5-6): : 423 - 438
  • [38] THE EFFECT OF DATA-STRUCTURES ON THE LOGICAL COMPLEXITY OF PROGRAMS
    BASTANI, FB
    IYENGAR, SS
    COMMUNICATIONS OF THE ACM, 1987, 30 (03) : 250 - 259
  • [39] Approximation Structures with Moderate Complexity in Functional Optimization and Dynamic Programming
    Gaggero, Mauro
    Gnecco, Giorgio
    Parisini, Thomas
    Sanguineti, Marcello
    Zoppoli, Riccardo
    2012 IEEE 51ST ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2012, : 1902 - 1908
  • [40] USING MEMORIZATION TO ACHIEVE POLYNOMIAL COMPLEXITY OF PURELY FUNCTIONAL EXECUTABLE SPECIFICATIONS OF NONDETERMINISTIC TOP-DOWN PARSERS
    FROST, RA
    SIGPLAN NOTICES, 1994, 29 (04): : 23 - 30