ACM Home Page
Please provide us with feedback. Feedback
Reducing computational complexity with array predicates
Full text pdf formatPdf (464 KB)
Source ACM SIGAPL APL Quote Quad archive
Volume 29 ,  Issue 3  (March 1999) table of contents
Pages: 39 - 43  
Year of Publication: 1999
ISSN:0163-6006
Also published in ...
Author
Robert Bernecky  Snake Island Research Inc., 18 Fifth Street, Ward's Island, Toronto, Ontario M5J 2B9, Canada
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 13,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/327600.327614
What is a DOI?

ABSTRACT

This article describes how array predicates were used to reduce the computational complexity of four APL primitive functions when one of their arguments is a permutation vector. The search primitives, indexof and set membership, and the sorting primitives, upgrade and downgrade, execute in linear time on such arguments. Our contribution, a method for static determination of array properties, lets us generate code that is optimized for special cases of primitives. Our approach eliminates runtime checks which would otherwise slow down the execution of all cases of the effected primitives. We use the same analysis technique to reduce the type complexity of certain array primitives.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
Abr70
PHFclP ABRAMS. An {APL} Mach/r~ PhD thesis, Stanford University, 1970. SLAC Report No. 114.
 
Ber73
ROBERT BERNECKY. "Speeding tip dyadic iota and dyadic epsilon'. In APL C~gress 73, pages 479--482. North-Holland Publishing Company, 1973. Second priming.
Ber93
 
Ber97a
ROBERT BERNECKY. "APEX.. 77~ APL paralM exavaz~', Master's thesis, University of Toronto, 1997.
 
Ber97b
ROBERT BERNECKY. "An ov.endav of the APEX a~er", Technical Report 305/97, Department of Computer Science, University of Toronto, 1997.
 
Bud88
TIMOTHY BUDD. An APL Cor~. Springer- Verlag, 1988.
 
GJ79
M~~I. R. G_aRE~ and DAVID S. JOHNSON. and Intr~ity: A Guide to the ~ of NP. ~s. W.H. Freeman, 1979.
 
Ive73
EtuC B. IVI~RSON. "APL/4004 implementation". In APL Congress 73, pages 231--236. North-Holland Publishing Company, 1973.
Jor79
Wie86
 
Wil91