Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
libaec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathis Rosenhauer
libaec
Commits
1763545e
Commit
1763545e
authored
10 years ago
by
Mathis Rosenhauer
Browse files
Options
Downloads
Patches
Plain Diff
Blurb about why 32bit is slow.
parent
a63f50c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/README
+13
-0
13 additions, 0 deletions
doc/README
with
13 additions
and
0 deletions
doc/README
0 → 100644
+
13
−
0
View file @
1763545e
---------------------
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment