Comments (3)
Yes, I agree that alignment should not matter much as far as performance is concerned. If someone has a machine where unaligned accesses are much slower, they should probably upgrade at this point.
Would you be willing to issue a PR? It is a simple matter of replacing all the load by loadu (or _mm_lddqu_si128) and store by storeu. One can do it with search and replace in seconds... the hard part is checking the everything still makes sense (and there are places where we might check for alignments, these checks need to be removed).
from simdcompressionandintersection.
@lemire
Sure, I already made the change you mentioned and tested it using testcodecs, which seemed to work just fine.
Before I issue a PR Ill turn this change into a macro, so it could be reverted by a simple #define, unless you think its unneeded.
from simdcompressionandintersection.
@vadali A macro would be fine.
from simdcompressionandintersection.
Related Issues (14)
- Is this will be ported to java HOT 16
- typo HOT 1
- C++/Java compression output interoperability HOT 8
- Decoding problems HOT 2
- Wanted: Exception when provided an insufficient buffer HOT 8
- Conflicting Namespaces HOT 4
- Add API hooks so that users can quickly get the uncompressed size of an array given the compressed output
- [Discussion] Implementation in Go HOT 2
- Add the vectorized encoder for stream vbyte
- scalar vs nate_scalar HOT 2
- fastpfor codec has a bug HOT 1
- arm64 support HOT 2
- Question: theoretical compression ratio limit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simdcompressionandintersection.