You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler takes too long (practically freezes) when compiling the following code:
contract Test {
pub fn foo(bar: Array<u256, 10000>) {}
}
I'm running the Mac version, with:
$ fe --version
fe 0.20.0-alpha
$ fe build --output-dir mytest test.fe
It does work with relatively small array sizes. But the bigger the array size, the longer it takes. To the point it's unusable for large ones. Some numbers:
size
time
10
0.08 sec
100
0.48 sec
1000
30 sec
10000
killed after +30 min.
The text was updated successfully, but these errors were encountered:
What is wrong?
The compiler takes too long (practically freezes) when compiling the following code:
I'm running the Mac version, with:
It does work with relatively small array sizes. But the bigger the array size, the longer it takes. To the point it's unusable for large ones. Some numbers:
The text was updated successfully, but these errors were encountered: