Guard vs Scope::Guard perl 5.8.8 で GuardとScope::Guardを比較してみた。関数が終了したタイミングでコールバックが走るようにした状態で比較。Guardはスコープ終了時に走るscope_guard()とダイナミックガードであるguard()両方で試してみた。 use strict; use Benchmark qw(cmpthese); use Scope::Guard; use Guard; cmpthese(500_000, { scope_guard =... > このページを見る
最終更新時間:
2009年12月03日00時29分

![Guard vs Scope::Guard - D-6 [相変わらず根無し]
Guard vs Scope::Guard - D-6 [相変わらず根無し]](http://screenshot.hatena.ne.jp/images/200x150/0/8/f/9/3/59bd9b0759b8df3156f75aa89b4f3c06507.jpg)






