A polynomial determination of the most-recent property in Pascal-like programs (Q1095643)
From MaRDI portal
| This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use this page instead for the normal view: Publication:1095643 |
scientific article; zbMATH DE number 4028874
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | A polynomial determination of the most-recent property in Pascal-like programs |
scientific article; zbMATH DE number 4028874 |
Statements
A polynomial determination of the most-recent property in Pascal-like programs (English)
0 references
1988
0 references
If a compiler knew which procedures (or functions) of a program fulfill the most-recent property, it could produce more adequate code. This stands in contrast to the prevailing tacit worst-case assumption on the non-most-recent behavior of those procedures being passed as parameters (for all other procedures this property holds trivially). This old and well-known phenomenon will attract new attention with the development of new computer architectures - such as RISC. We present a method which has a polynomial time complexity (in program length) for deciding this property in Wirth-Pascal-like programs by exploiting the inherent restriction concerning formal procedures. It is this restriction that enables us to (1) (polynomially) reduce the most- recent problem to a reachability problem for certain procedures and (2) solve this reachability problem with the polynomial algorithm which we present. This polynomial result for such programs is rather unexpected since, for programs in slightly less restricted languages like ISO-Pascal, the problem is still decidable but with a complexity as bad as P-space complete.
0 references
compiler
0 references
computer architectures
0 references
RISC
0 references
polynomial time complexity
0 references
program length
0 references
Wirth-Pascal-like programs
0 references
reachability problem
0 references
polynomial algorithm
0 references
ISO-Pascal
0 references
P-space complete
0 references
0.826816737651825
0 references
0.7119593024253845
0 references
0.6731312870979309
0 references