lep / jhcr

A compiler to allow hot code reload in WarCraft 3
https://www.hiveworkshop.com/threads/jass-hot-code-reload.313811/
GNU Lesser General Public License v3.0
31 stars 2 forks source link

Rewrote the instruction optimizer #11

Closed lep closed 9 months ago

lep commented 9 months ago

Uses a sliding window and only touches each (remaining) rule per instruction per window once. Also removes all non-matching rules as early as possible. It's still way too slow but it's useable now for large changesets.

Fixes #9 (for now).