User Profile

Collapse

Profile Sidebar

Collapse
jtgd
jtgd
Last Activity: Dec 5 '08, 01:22 AM
Joined: Dec 5 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jtgd
    replied to C++ Dynamic allocation within a loop
    in C
    In any case you must keep track of the memory that you new so you can delete it later, whether it is in an array of pointers or a linked list....
    See more | Go to post

    Leave a comment:


  • jtgd
    replied to Efficiency of int vs. unsigned int.
    in C
    ARM ints

    I can tell you one huge difference when it comes to ARM code, and it may apply to other architectures.

    When you are using C in ARM, you should have all autos be 32 bits. If you use shorts or chars then after every operation it will do a shift-left, shift-right to either zero-extend or sign-extend the word to an int so that it is always a proper 32 bit int. This is of course horribly inefficient. If your autos...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...