Hacker News new | ask | show | jobs
by tored 1517 days ago
Only 3x speed increase feels like either did PHP a very good job or the port is not optimized for rust yet.
1 comments

A 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.