primitivefinance / portfolio

Portfolio is an automated market making protocol for implementing custom strategies at the lowest cost possible.

Home Page:https://www.primitive.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Reverse RLE encoding more

Alexangelj opened this issue · comments

Description

RLE encoding is run length encoding, it's used in the swap instruction to decode a dynamically sized amount. This encoding method makes it has the largest impact in calldata size, so it should at least be used in the claim instruction as well.

Done here 4e1aa53 🫡