Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: S@rK0Y

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Razzle, in fact, true HPC was destroyed by GHz in CPUs. who cares about optimization, if new "stone" will give more GHz muscle??? some years ago, many "experts" dreamed of 10 Ghz "stone". But such...
  2. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    2 OReubens


    Ye're Absolutely Right about #1 & i Absolutely don't share your #2: at large scale, highly-optimized code takes times lower ticks (at least) to accomplish the same task. Big Data...
  3. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    2 Razzle

    actually, from the very start, i've suggested nothing. i just have shared the code to test it onto different intel-based machines.


    this solution is the cpu-hosted code, it's...
  4. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    D Drmmr, i did run optimized code. however, there could be problems w/ smarty modes of compilers because algo has used rXX, xmmXX & mmX registers as global vars. nevertheless nothing prevents us to...
  5. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Razzle, IT has no magic pills. even if to say about sorting algos, the're a lot of 'minors':

    1. data structures (array has low performance at the rest of possible operations).
    2. number of items...
  6. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Razzle, we can dispute up to Infinity & Beyond :) i'd like to see real benchmarks, you could run fsort(no-if) onto your intel-based machine(s) & only this can be the last word for such discussions.
    ...
  7. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Razzle, yes, multi-threading can be exploited w/o low-level programming. however, MT has a lot of troubles for developers: you have to sync concurrently-running objects & this moment (in many cases)...
  8. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    well, Razzle, let's try to cross our t's at least for a little of possible ones. state-of-the-art hardware has 6-way approach to speed-up algos:

    1. multi-threading.
    2. 3OE (out-of-order...
  9. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Razzle, 1st of the all, Thanks for your reply. Frankly, Epoch of readable codes was passed by: we have a lot of ways to speed-up our codes thanks to modern hardware, but high-level programming has no...
  10. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    i'm back, my Friends :D here (http://alg0z.blogspot.ru/2014/07/fastsortfsort-no-if-vs-qsort.html) is very nutty-freaky, but fast code. i'd like to see benchmarks on your hardware. ;) Thanks a lot in...
  11. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    Hi, Dave. here we got really comic situation: at C-level, it's if-free code, but compilers provide horrible amount of conditional jumps in the Asm output. :eek: in short, i see only solution: to...
  12. Replies
    29
    Views
    2,231

    Re: IF-free conception.

    D_Drmmr, code in the blog cannot be compiled because pointers must be casted to integers, then sum of addresses is casted back to pointer. actually, it's all done in the source. But(!) i used trick...
  13. Replies
    2
    Views
    448

    Re: Find sequence Term For set of Numbers

    it fully depends upon what operations you permitted to use. Just arithmetic ones???
  14. Replies
    6
    Views
    1,416

    Re: Very simple recursive algorithm

    something like that?


    void cntZeros(int *a, int len, int *cnt, int* index){
    if(a[index]==0) *cnt++;
    index++;
    if(*index<len)cntZeros(a, len, cnt, index);
    return;
    }
  15. Replies
    29
    Views
    2,231

    IF-free conception.

    Good Time to all, Amici(Friends).

    Here, i'd like to discuss how to reduce conditional branches in the code. 1st of the all, i would like to share some tricks. Their description is here :)...
Results 1 to 15 of 15


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center