Cでモジュールの書き直し
純粋なままでは生きていけませんでした。
今までCommonLispだけで書いていたパーサを、一部Cで書き直しました。
4.13秒かかっていた処理が、0.35秒になりました。速っ。
でも、調べ始めてからもう一週間近くたっているから早くはないね。
やっぱりCでのプログラムは最後の手段ぐらいにしたいものだ。
おまけ:
# Lisp版 $ time make html-lisp make html 4.13s user 0.75s system 92% cpu 5.306 total # C言語版 $ time make html-c make html 0.35s user 0.16s system 80% cpu 0.620 total