Hi guys, I'm trying to write a program where a large vector of u64's, with about 53000 elements of predefined values, needs to be stored and used. However, the program takes a long time to compile, about 24 seconds on my Ryzen 2700X machine. It was taking 47 seconds previously if I tried assigning the values after creating the
I felt these compile times are rather long for such a program, so I wanted to ask your opinion. I've created a semi-barebones repository here. Just trying to compile this should take a while.
So I wanted to ask:
- Is this compile times expected for this given scenario?
- If not, is there any way to speed up the compilation? For example, the same code in C++ takes much less time to compile.
- Should this be brought up with the Rust language team?
Thanks in advance!