Week Six: June 21 - June 25

This week I ditched Java for C. Rumi suggested me using CSparse library to help with sparse matrix operations. C is incredibly fast, and I was able to get the job done fifty times faster than using Java. However, I experienced some memory leaks which caused me kicked out of the server because of memory overuse. I had to go back to study CSparse source code carefully over and over until I found the leaks. It was a nice experience for me to discover that I can solve these problems on my own.

Lessons Learned:
1) Good source to learn how to use CSparse library: here
2) Be careful with memory leaks.
3) Core dump? gdb helps.
4) Never give up!

Weekend:
We went to see Toy Story 3 on Friday evening. Great movie!