Chia-Network / clvm_tools_rs

clvm_tools ported to rust based on https://github.com/Chia-Mine/clvm_tools-js/, and chialisp-21 dialect with a new compiler.
Apache License 2.0
11 stars 13 forks source link

20231026 cl23 optimizer #52

Closed prozacchiwawa closed 10 months ago

prozacchiwawa commented 11 months ago

Cooking pr for the cl23 optimizer, the last functional part of what people can write as cl23, minus deftype and compile-file. Types and compile-file continue to ride on dev until they can be focused on in reviews.

This adds an optimizer strategy for cl23, which has more tricks and generates far more compact code than cl21.

trepca commented 10 months ago

improved my compile time for about 10x