Rewrite the cpp example to do the same thing as the nim example#60
Rewrite the cpp example to do the same thing as the nim example#60det wants to merge 1 commit intologicchains:masterfrom
Conversation
|
I'm not Jonathan so I can only provide a datapoint, but for me this is 15% slower than the current CPP implementation on ARM (Cortex-A15). Access to globals is slower and the template-based current implementation passes the |
|
I've found the same; on ARM it's around 3.5 seconds for this On 3 January 2015 at 09:39, Cosmin Gorgovan notifications@github.com
|
The current C++ example is unnecessarily complex and slower than a naive implementation. This patch makes the C++ example work the same way as the Nim example by using a vector with 1 byte per bool and using globals.