MatthiasGrandl opened issue #9081:
Related to https://github.com/bytecodealliance/wit-bindgen/issues/1019
I have a large enum with 1424 cases. While it's completely broken on the client side, it works as expected on the host side, but compilation takes ages. On this Macbook Pro M3 Pro it takes 1 minute longer on a fresh compile than without the enum.
I attached the wit for testing.
alexcrichton commented on issue #9081:
I've tested that with #9122 the enum in question goes from generating 80_000 lines of code to 8_000 lines of code, which should be a large improvement. When that lands though can you confirm that it improves things locally as well? If the compile time is still too long I'll look into this further and see what else is generating a lot of code.
MatthiasGrandl commented on issue #9081:
@alexcrichton I would be happy to test it!
alexcrichton closed issue #9081:
Related to https://github.com/bytecodealliance/wit-bindgen/issues/1019
I have a large enum with 1424 cases. While it's completely broken on the client side, it works as expected on the host side, but compilation takes ages. On this Macbook Pro M3 Pro it takes 1 minute longer on a fresh compile than without the enum.
I attached the wit for testing.
MatthiasGrandl commented on issue #9081:
@alexcrichton tested the changes and they definitely solved my issue! thanks a lot!
alexcrichton commented on issue #9081:
Great, thanks for testing!
Last updated: Dec 23 2024 at 12:05 UTC