Demystifying Storage Slot Packing - Key Knowledge for the EVM Hackers
i wonder why the prefer EXP & DIV instead of SHIFT ops.
Being pedantic, isnt "Given our key is 32 bytes in size we can have a maximum of (2^256)-1 keys." incorrect? As you also have the possibility of having 0 as a key.
i wonder why the prefer EXP & DIV instead of SHIFT ops.
Being pedantic, isnt "Given our key is 32 bytes in size we can have a maximum of (2^256)-1 keys." incorrect? As you also have the possibility of having 0 as a key.