3 ms·
Only 3x speed increase feels like either did PHP a very good job or the port is not optimized for rust yet.
by tored 5y ago
Only 3x speed increase feels like either did PHP a very good job or the port is not optimized for rust yet.
- muglug 5y agoA bit of one, a bit of the other. It's fairly well-optimised. I think the big remaining optimisation will be to de-allocate memory less frequently — the program creates and destroys millions of structs representing types. 20% of the runtime is taken up iterating over and dropping collections of type-related structs.