gcc 4.1の目玉
あいかわらず暇を作ってgcc弄り。
gcc 4.1の目玉としてこういうのがあります。
The old Bison-based C and Objective-C parser has been replaced by a new, faster hand-written recursive-descent parser.
んで、試してみます。プリプロセスの時間を省くためにccacheを利用してみました。
んで結果。
3.4.3 make clean all 8.57s user 1.86s system 61% cpu 16.934 total
4.0.0 make clean all 9.39s user 1.97s system 58% cpu 19.574 total
4.0.1 make clean all 9.06s user 1.94s system 57% cpu 19.060 total
4.1.0 make clean all 9.73s user 2.00s system 53% cpu 22.036 total
ありゃりゃ、4.1.0遅いね。
個人的にはパーズまわりがよくなれば、時間かかってもいいけどね。