fholm / IronJS

IronJS - A JavaScript implementation for .NET
http://ironjs.wordpress.com
Apache License 2.0
680 stars 79 forks source link

Shrink the size of the Attributes field on Descriptor to 1 byte. #77

Open fholm opened 13 years ago

fholm commented 13 years ago

On the current IronJS.Runtime.Descriptor struct the Attributes field is of type "ushort", which is 2 bytes long, this could be shrunk to 1 byte making the whole struct 8 + 1 + 1 byte = 10 bytes, instead of 11 bytes as currently.