Comments (2)
There indeed was a discrepancy between the cpu implementation and the first iteration of the pdf. The reason is with the original proposal: when the phase with the dag element chasing starts the hash values get replicated from bytes 0..63 to 64..127. Therefore the uint32_t at [0..3] and [64..67] are equal and that leads to a kind of optimization that then gives about 1% higher hashrate, because one needs to fetch the element only ones. But only people who see it can use it and also it makes the code not nice to read, because to use the trick one needs to manually pull out the first loop iteration out of the loop.
Because I did not like this, I decided to go for bytes [0..3], [16..19] and [32..35] instead. The most recent version of the document has this change amended. I will make sure it gets uploaded as soon as possible.
from fish-hash.
Thank you @Grumpy-Dwarf. At first glance this does seem like a discrepancy between the paper and implementation. We'll look into it 🙏🏻
from fish-hash.
Related Issues (4)
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 fish-hash.