Table Lookup by Direct Addressing: From V8 to V9

نویسنده

  • Paul M. Dorfman
چکیده

Table lookup is one of the most, if not the most, important and frequently performed data processing operations. The SAS System supports this assertion with a roster of built-in searching techniques, such as merges, joins, formats, indexes, and search-specific operators and functions. It is therefore all the more surprising that until the advent of Version 9 the fastest, i.e. direct-addressing searching algorithms, such as hashing and bitmapping, have not been available in a built-in form. This gap has been partially covered by SAS programmers crazy enough to hand-code their own hash-based schemes using the power of the SAS Language. In Version 9, however, the situation has finally changed. Not only has it made direct addressing available in the form of a built-in hash table (associative array) object, which can be searched much faster than any other SAS lookup structure, but with it, Version 9 has also introduced the first truly runtime dynamic, memory-resident Data step structure. In this talk, we will get a taste of this new exciting SAS instrument and some cool things it can help us do. We will also see that it does not make hand-coded hashing methods instantly obsolete. Both have their place in a SAS user's repertoire, the choice depending on the data knowledge and programming and/or computer efficiency.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Frequent expression of the high molecular, 673-bp CD44v3,v8-10 variant in colorectal adenomas and carcinomas.

CD44 is a transmembrane glycoprotein involved in the interaction between cells and the extracellular matrix. A large variety of alternatively spliced CD44 variants are expressed by different tumors with possible implication for tumor progression, formation of metastasis and survival. In colon carcinomas, previous reports described higher molecular bands of CD44 transcripts in neoplastic colonic...

متن کامل

Table Lookup via Direct Addressing: Key-Indexing, Bitmapping, Hashing

In SAS data processing, searching is one of the most frequent operations. Base SAS offers a rich collection of built-in searching techniques. MERGE, SQL joins, formats, SAS indexes all serve the purpose of the table lookup. For do-it-yourselfers, SAS offers arrays – directly addressable data structures suited for implementing just about any searching algorithm. An array-based lookup is not a r...

متن کامل

Organization and evolution of the human growth hormone receptor gene 5'-flanking region.

Previous studies have identified eight variant human GH receptor (hGHR) messenger RNA (mRNAs; V1-V8), that differ in their 5'-untranslated regions (5'UTRs) but splice into the same site just upstream of the translation start site in exon 2; thus, they encode the same protein. Here we report a novel variant, V9, and describe the mapping of all nine 5'UTR sequences within 40 kb upstream of exon 2...

متن کامل

Receptor-independent e¡ects of natural cannabinoids in rat peritoneal mast cells in vitro

Cannabinoids can activate CB1 and CB2 receptors. Since a CB2 mRNA has been described in rat peritoneal mast cells (RPMC), we investigated a series of cannabinoids and derivatives for their capacity to stimulate RPMC. Effects of natural cannabinoids v9-tetrahydrocannabinol (v9-THC), v8-THC, endocannabinoids (anandamide, palmitoylethanolamide) and related compounds (N-decanoyl-, N-lauroyl-, N-myr...

متن کامل

Direct Addressing Techniques of Table Look-up

Table look-up is the most time-consuming part of many SAS programs. Base SAS offers a rich collection of built-in searching techniques. Merging, SQL joins, formats, SAS indexes all serve the purpose of locating relevant data. For custom programming, SAS offers arrays, whose direct addressability lends itself to implementing just about any searching algorithm. Array-based lookup is not a ready-t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004