Search:

Type: Posts; User: bennywhere

Search: Search took 0.00 seconds.

  1. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    And that's appreciated! Would you suggest using a...

    And that's appreciated! Would you suggest using a 1-D only? If so, what exactly are the benefits? I guess you wouldn't have 2 redirections as for the 2-D, but other than that, I dont know of any...
  2. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    Thanks a lot for the feedback! I agree, it does...

    Thanks a lot for the feedback! I agree, it does make the impression, doesn't it...
  3. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    Would you say that provides any significant...

    Would you say that provides any significant optimization? In the meanwhile I have parallelized this code with pthreads. So, with my mirroring (yes, it is indeed mirrored ;-) ), I can cut execution...
  4. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    MK27: Of course it should have read int *someptr...

    MK27: Of course it should have read int *someptr = (int *)alloc1D(1);
    is that still wrong? I mean all that malloc really does is allocate memory for 1 float (in the alloc1D()), and return a pointer...
  5. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    quzah: I agree, it does not say that the result...

    quzah: I agree, it does not say that the result is mirrored... but usually problems don't scream at you where they leave room for potential optimization.
    Anyway, could you elaborate on the single...
  6. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    Thanks a lot for all your suggestions. As for...

    Thanks a lot for all your suggestions.

    As for the commenting:
    I usually tend to comment sparingly, and was told by a friend to comment more... So, I guess I just gotta find a good middle grounds....
  7. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    Hey there, thanks for the feedback! Yeah, I...

    Hey there, thanks for the feedback!
    Yeah, I agree, I will fix the indentation.

    As for the mirroring, the problem doesn't say anything about it, but if you analyze the equation, you will see...
  8. Thread: Code review

    by bennywhere
    Replies
    16
    Views
    6,518

    Code review

    Guys,
    I'm pretty new at C programming, nevertheless I am currently interviewing for an embedded sw position. As part of the interview I was given a coding exercise in C.
    I would appreciate if you...
Results 1 to 8 of 8