Prebinding
From Applepedia
Prebinding is what MacOS X is actually doing when it says "Optimizing". It involves writing information about libraries the program in question depends on into the program itself, so the computer doesn't have to go on a mad scavenger hunt when you run it, saving time, hard drive accesses, and battery life.
It also takes forever.
[edit]

