2013-01-01から1年間の記事一覧

MRubyのincremental_sweep_phaseを読んでみた。

struct heap_page *page = mrb->sweeps; でpageをスタート。 while (page && (tried_sweep < limit)) でnextのpageへループその中で RVALUE *p = page->objects;RVALUE *e = p + MRB_HEAP_PAGE_SIZE このpとeの間でまたループ。 while (p<e) if (is_minor_gc(mrb) && page->old) { /* skip a sl</e)>…

はろーわーるど

プログラミングについてのブログです。 class Voila { public: // Voila static const string VOILA = "Voila"; // will not interfere with embedded tags. }