エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
random-state.net / MAKE-INSTANCE optimizations (June 29th 2009)
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
random-state.net / MAKE-INSTANCE optimizations (June 29th 2009)
MAKE-INSTANCE optimizations # hacking, June 29th 2009 SBCL has always had a fairly efficient MAKE... MAKE-INSTANCE optimizations # hacking, June 29th 2009 SBCL has always had a fairly efficient MAKE-INSTANCE — as long as the class argument is a quoted symbol and all the keywords in initargs are constant as well. This is due to what are called ctors. Very briefly, a call such as (make-instance 'point :x x :y y) is transformed into something along the lines of (let ((#:ctor (load-time-value (ensure