• Home
  • Search
  • Towards an automatic complexity analysis for generic programs
  • Cite Icon5
  • https://doi.org/10.1145/1159861.1159874Copy DOI Icon

Towards an automatic complexity analysis for generic programs

  • Sep 16, 2006
  • Kyle D Ross
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Generic libraries, such as the C++ Standard Template Library (STL), provide flexible, high-performance algorithms and datatypes, along with functional specifications and guarantees. It is left as a nontrivial task to the library user to choose appropriate algorithms and data types for a particular problem. In the present paper, we describe an automatic analysis to aid library users in selecting types for use in generic programs. The analysis is based on manipulation and comparison of symbolic complexity expressions, constructed using cost-bound functions and abstract interpretation of program behaviour. Our analysis serves to detect and rectify performance bugs by recommending type selections that will improve performance.

Similar Papers
  • Conference Article
  • Citations13

Change Impact Analysis for Generic Libraries

  • Sep 01, 2006
  • Proceedings/Proceedings - Conference on Software Maintenance
  • Marcin Zalewski +1
  • PDF
  • Research Article
  • Citations4

Complete Traversals and their Implementation Using the Standard Template Library

  • Dec 01, 1998
  • CLEI Electronic Journal
  • Eric Gamess +2
  • Research Article
  • Citations1

Tensor contraction in C++

  • Jan 01, 2001
  • IEEE Computer Graphics and Applications
  • J.F Blinn
  • Research Article
  • Citations32

STLlint: lifting static checking from languages to libraries

  • Sep 15, 2005
  • Software: Practice and Experience
  • Douglas Gregor +1
  • Research Article
  • Citations1

Garbage collection in generic libraries

  • Oct 01, 1998
  • ACM SIGPLAN Notices
  • Gor V Nishanov +1
  • Conference Article
  • Citations5

Garbage collection in generic libraries

  • Oct 01, 1998
  • Gor V Nishanov +1
  • Book Chapter
  • Citations1

Theory and Generality of Complete Traversals

  • Jan 01, 2000
  • David R Musser +1
  • Research Article

General education in the computer science curriculum

  • Apr 20, 2001
  • Journal of Computing Sciences in Colleges
  • M Mullinspaul
  • Conference Article
  • Citations9

Lambda functions for C++0x

  • Mar 16, 2008
  • Jaakko Järvi +1
  • Research Article
  • Citations1

An architecture for generic extensions

  • Sep 25, 2009
  • Science of Computer Programming
  • Cosmin E Oancea +1
  • Research Article

Web labs for the Standard Template Library and the Java generic library in a CS2 course

  • Mar 01, 1999
  • ACM SIGCSE Bulletin
  • William J Collins +1
  • Conference Article

Web labs for the Standard Template Library and the Java generic library in a CS2 course

  • Mar 01, 1999
  • William J Collins +1
  • Research Article

Integration of the Standard Template Library and the Microsoft Foundation Class

  • Jun 01, 1999
  • ACM SIGPLAN Notices
  • Paul Wolfgang +1
  • Book Chapter
  • Citations9

OpenMP Extensions for Generic Libraries

  • Jan 01, 2008
  • Prabhanjan Kambadur +2
  • Conference Article

The Development and Application of Analysis System of Wind Characteristics Observation for Bridge in the West Inland

  • May 16, 2011
  • Zhang Yue +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.