Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
in C++, there is a warning in the main =>
IMHO you should you fix that ?
This comment is hidden because it contains spoiler information about the solution
😁 Always a pleasure to fork your ✨ solutions, dear...
In C++.
Oups... does it really takes 8secs just to compile ???
C++ version...
IMHO should not have so many 'nice assumptions'... In real life it will require a lot of testing from the calling side
hmmmmm...
😄 Perfect C++20/23 !!
But you know what : I'm tired with 30mns trying to figure out which include I have to use in rangev3 for each algo/view/.. and line of code !!
😃
Of course !!
I was not running for perf...
Use of a rand instead of a mersenne twister, etc.. and even the use of std:experimental::simd etc...
Note on your note: any modern compiler will unroll the loop, and... turn i++ into ++i.. 😀
This comment is hidden because it contains spoiler information about the solution
See my comment on the fork: you will understand why... my old reflex is C-style :-))))) \
Could write it in 6809 8 bit assembly :-)
:-)
You know what ? I'm 60 (yop a gran'pa programmer). Began programming in 1979... with 68000 assembly my boss was a p.. in the ... for ANY SINGLE CPU CYCLE...
Want the whole story: We had to rasterize an A0 plot, black and white. Makes something like 1 or 2 Mpixels. Memory chips were so expensive: my boss gave me a hardware with 256k (yop) of (static) RAM, and a 20Mo (yes, Mo) hard drive and told me: do the shit with what you have :-)
Actually with modern pipelines and cache, had to readapt... Performance is not a matter of cycles, but a matter of data, cache line and prefetch and branch prediction and...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...