Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
A polynomial determination of the most-recent property in Pascal-like programs - MaRDI portal

A polynomial determination of the most-recent property in Pascal-like programs (Q1095643)

From MaRDI portal





scientific article; zbMATH DE number 4028874
Language Label Description Also known as
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 references

    Identifiers