File: README

package info (click to toggle)
libaec 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,272 kB
  • sloc: ansic: 3,746; sh: 109; makefile: 75; cpp: 34
file content (13 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
---------------------
 32 bits vs. 64 bits
---------------------

libaec compiles and runs both in 32 and 64 bits. For encoding and
decoding I see a performance degradation with 32 bit binaries of 38%
and 33% resp.

The main reason for this is that encoding and decoding use a buffer of
type uin64_t to align a potentially 32 bit wide sample with the output
(encoding) or input (decoding) stream. Avoiding the use of this
uin64_t buffer variable would degrade 64 bit performance for a modest
gain in 32 bit performance so I decided against it.