So, what do you guys think of the algorithmic optimization tutorial?
Date: 07 Jun 2008 15:12
Number of posts: 6
RSS: New posts
Personally, I think it lacks in the aspect of teaching us to make up our own routines; it primarily shows us how to reverse a string.
The idea was to use an example to demonstrate algorithmic optimization. If you have some better ideas, why don't you put together your own algorithmic optimization tutorial? I'd be interested in seeing what you come up with.
The tutorial covers what it does well, but there's a lot that you can't explain just with the reverse-string example. Ideally, these are some topics that we could describe:
- Bottlenecks and code timing
- Big-oh efficiency
- Reduction of strength
- Unrolling loops
- Caching repeated calculations and pre-calculating data
Code timings was actually on my list of things to include in the tutorial, but I didn't have a calculator available. The other thing was including downloads for the different versions of the routine.
I do like this page, it is always good to have a tutorial on how to think abstractly when programming.
But I reckon that this page should belong somewhere in the starter-kit, rather than just a page on its own. Then it teaches new programmers this technique in their quest for better programming skills.
Cheers ~ James Kanjo