サクサク読めて、アプリ限定の機能も多数!
Aaronさんのブログ。 Rubyのオブジェクトは40byteで40でalignされてるなるほど。そしてobject_idは配置場所のアドレスを1bit右シフトしたものになってるなるほど。
iga_k のブックマーク 2018/01/26 12:30
Object ID in MRI | Tenderlove Making[ruby] Aaronさんのブログ。 Rubyのオブジェクトは40byteで40でalignされてるなるほど。そしてobject_idは配置場所のアドレスを1bit右シフトしたものになってるなるほど。2018/01/26 12:30
このブックマークにはスターがありません。 最初のスターをつけてみよう!
tenderlovemaking.com2018/01/26
Objects in Ruby are 40 bytes. Objects are allocated in to pages (or arenas) that are 2^14 (2 to the 14th power) bytes. Pages are allocated with an aligned malloc where the divisor is the size of a ...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
Aaronさんのブログ。 Rubyのオブジェクトは40byteで40でalignされてるなるほど。そしてobject_idは配置場所のアドレスを1bit右シフトしたものになってるなるほど。
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Object ID in MRI | Tenderlove Making
Objects in Ruby are 40 bytes. Objects are allocated in to pages (or arenas) that are 2^14 (2 to the 14th power) bytes. Pages are allocated with an aligned malloc where the divisor is the size of a ...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /