Search:

Type: Posts; User: wildpenguin

Search: Search took 0.01 seconds.

  1. Well, I remember vaguely having this kind of...

    Well, I remember vaguely having this kind of issue... And yes, I have tried program on my machine and it shows the symptoms. :D

    I maybe wrong here...

    You have to remember that input and...
  2. Replies
    5
    Views
    3,314

    > (3) what is real life example of the efficiency...

    > (3) what is real life example of the efficiency gain from using an abstract class?

    Probably ABC (abstract base class) will slow things down a bit. Polymorphism requires all these lovely vtable...
  3. Replies
    6
    Views
    1,486

    I thought I'd just mention calloc() and...

    I thought I'd just mention calloc() and realloc(). calloc() is similar to malloc, but it clears the memory allocated. And realloc() "reallocates" memory. i.e. change the size of allocated memory.
  4. Replies
    11
    Views
    1,782

    I just mentioned KMP because... (1) KMP is...

    I just mentioned KMP because...

    (1) KMP is proved mathematically! :-) (I'm a computer science major)

    (2) Yes, it is true that you can try to turn up non-matchs/hits sooner, but how will you...
  5. Replies
    11
    Views
    1,782

    May I suggest more generic linear time algorithms...

    May I suggest more generic linear time algorithms such as KMP? Tricks such as starting in the middle and starting at the end are not great assumptions to make at mentioned previously.

    KMP stands...
Results 1 to 5 of 5