3 ms·
Debugging is much more important though.
by livarot 9y ago
Debugging is much more important though.
- partycoder 9y agoIf you had to chose between both, sure. But I think there might be some time to at least walk students through the basics of profiling, it can be very valuable to have some exposure. Then when it comes to memory management, there's a fine line between debugging and profiling. I was playing with left leaning red-black binary trees yesterday as a refresher and got a memory corruption due to a bug. With valgrind (a tool I generally use to catch memory leaks) I caught it immediately, very helpful tool.