increase binary_code size to 32
save a few jump, adds some size to binary 16 just seemed kind of small
This commit is contained in:
@ -6,7 +6,7 @@ module Parfait
|
||||
# in these. As Objects are fixed size (this one 16 words), we use linked list
|
||||
# and as the last code of each link is a jump to the next link.
|
||||
#
|
||||
class BinaryCode < Data16
|
||||
class BinaryCode < Data32
|
||||
attr :type, :next_code
|
||||
|
||||
def self.type_length
|
||||
|
@ -1,9 +1,8 @@
|
||||
# Integer class for representing maths on Integers
|
||||
# Integers are Objects, specifically DataObjects
|
||||
# - they have fixed value
|
||||
# - they are immutable
|
||||
# (both by implementation, not design.
|
||||
# Ie it would be possible to change the value, we just don't support that)
|
||||
# - they are immutable fo rthe most part (or to the user)
|
||||
#
|
||||
class Integer < Data4
|
||||
|
||||
attr :type, :next_integer
|
||||
|
Reference in New Issue
Block a user