b0aefe31fe
unfortunately the writers have to have self.var = otherwise it is just a local var Also need to make the type explicit for all Protocol included memory_length on the class for now
16 lines
471 B
Ruby
16 lines
471 B
Ruby
|
|
# A Page (from the traditional memory page) represents a collection of
|
|
# objects in a physically form. Ie the page holds the memory or data, that
|
|
# the objects are made up of.
|
|
|
|
# Pages have a total size, but more importantly an object size.
|
|
# All objects of a Page are same sized, and multiples of the smallest
|
|
# object. The smallest object is usually a cache line, 16 bytes or
|
|
# an exponent of two larger.
|
|
|
|
module Parfait
|
|
class Page < Object
|
|
attr :type
|
|
end
|
|
end
|