daisuke-t-jp / xxhash-swift Goto Github PK
View Code? Open in Web Editor NEWxxHash framework in Swift.
Home Page: https://cocoapods.org/pods/xxHash-Swift
License: MIT License
xxHash framework in Swift.
Home Page: https://cocoapods.org/pods/xxHash-Swift
License: MIT License
With xxHash v0.8.0, XXH3 is now stable (see https://github.com/Cyan4973/xxHash/releases/tag/v0.8.0).
Looking at the test vectors in this library, it looks as though it is out of sync with the latest tag. Is there a plan to upgrade?
For example, for xxHash3-64, for an empty input and zero-value seed we would expect a hash of 2D06800538D394C2
.
https://github.com/Cyan4973/xxHash/blob/94e5f23e736f2bb67ebdf90727353e65344f9fc0/xxhsum.c#L1246
Instead the current implementation in this library returns 0000000000000000
.
I am not sure if I am missing something, but I can't get the example code to work for the life of me. I guess I am supposed to use length instead of count, but then I also cannot access the subscript of the NSData type. On the off chance that its an issue with the example code I am posting it here, but assistance would be appreciated if it is just me not understanding the code.
Why using classes instead of Swift structs? Why not marking classes as final (turns on some optimizations)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.