パフォーマンス
Factorのパフォーマンスについて言っておくか。
0.83時代
When I saw this weblog entry, I decided to port the reverse complement benchmark to Factor. The benchmark took a whopping 51 minutes to run on my G5, compared to 3 seconds for the Java version. There are definitely some low-hanging fruit in the I/O code. I'll start working on I/O performance in Factor 0.84, and hopefully improve on the benchmark result by several orders of magnitude.
http://factor-language.blogspot.com/2006/07/poor-io-performance.html
テラオソスwwwww
でも間違ってて
Update: I ported the benchmark wrong. The initial buffer size was wrong; 3mb versus 30mb, so there was a lot of copying going on. Fixing this, the run time decreased to 170 seconds. Still poor, but not nearly as bad. 120 seconds are spent simply reading the file, line by line. This will be the first thing I will optimize in 0.84.
http://factor-language.blogspot.com/2006/07/poor-io-performance.html
でもテラオソスwwww
1.0の改善項目にもあがっているけどI/O周りが悪いらしい。
一応、現バージョン0.91の時点では地道に改善されている。
Factor: a practical stack language: Factor 0.91 benchmarks
これからが楽しみだなー。