Search:

Type: Posts; User: qed

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    4,613

    Infinite has a specific mathematical meaning. ...

    Infinite has a specific mathematical meaning. And it doesn't fit in this case. Its not even close.

    Median of 3, 5, etc, reduces that number of bad cases, but cannot remove them. Specifically...
  2. Replies
    20
    Views
    4,613

    In case someone cared about the real answer...

    In case someone cared about the real answer (which is not very well known, or understood):

    1. O'Hare's Quicksort algorithm has a worst case of O(n^2) running time. (I.e., its not much better than...
  3. Replies
    7
    Views
    7,374

    Yes, I realize this. But there is no way to make...

    Yes, I realize this. But there is no way to make an inaccessible dynamic name space inside a C macro, so I just chose the one that the non-system programmer will avoid. Making it work with any...
  4. Replies
    7
    Views
    7,374

    The __'s are used to try to keep the variable...

    The __'s are used to try to keep the variable names out of regular the program usable namespace. For example, try the following with your macro:
    char * slen = malloc (16);
    *slen = '\0';...
  5. Replies
    7
    Views
    7,374

    Somewhat faster and less artificial solution.

    #define strcatchar(__str,__cc) \
    { \
    int __slen; \
    __str[__slen = strlen(__str)] = __cc; \
    __str[__slen+1] = '\0'; \
    }
  6. Replies
    8
    Views
    7,948

    As to the question of stability : Bstrlib is...

    As to the question of stability :

    Bstrlib is *very* usable. Prior to implementing the regression test, Bstrlib was very reliable with no known problems under "normal" usage. In writing the main...
  7. Replies
    8
    Views
    7,948

    Hi folks! I am the author of the better string...

    Hi folks!

    I am the author of the better string library (Bstrlib). As to the question of "Which [string library] do you think is best/easiest to use?" I want the answer to be the better string...
Results 1 to 7 of 7