by illume · 18y ago · 0 comments
So rather than doing...
def doit(option1, data): for x in data: if option1: x += 7
You can create a function that doesn't include the "if option1" part. This is great if you have many different options... and instead of bloating your code for many different optimized function, or one slower generic function, you can create the optimized functions at run time.
Looks very nice. I just wish it had support for 3dnow, and windows :)
No comments yet.