SAA: optimize seeks when used on a byte array
commit1cff81e3562645b55fbe4beb7856c5ef8b7e910a
authorH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 16:29:20 +0000 (10 09:29 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Jun 2008 16:29:20 +0000 (10 09:29 -0700)
treeb3d91a57e8f655f3ee34885891c613b2cf5a6916
parent11627049aec88e21b6a9cbdef10984868d4ca3fe
SAA: optimize seeks when used on a byte array

In practice, we only ever use the seeking functions on byte arrays
(elem_len == 1).  Optimize for that case, to avoid a general divmod
operation.
saa.c