3 ms·
> YJIT uses significantly more memory when active -- e.g. OptCarrot takes 80MB without YJIT and 350MB with YJIT. This can be adjusted by setting --yjit-exec-mem
by montblanc 5y ago
> YJIT uses significantly more memory when active -- e.g. OptCarrot takes 80MB without YJIT and 350MB with YJIT. This can be adjusted by setting --yjit-exec-mem-size.
This one gave me a worry. I think it can be addressed, but if it can't this whole effort seems a bit overrated to me.
- tyingq 5y ago>No garbage collection for generated code. Will produce an error if --yjit-exec-mem-size is exceeded. This should be fixed in the coming months. Sounds like at least part of it will be fixed.
- wiremine 5y agoIt's always a trade off of time and space, especially for dynamic languages. Glad the flag is there, and it will be interesting to see more real-world data once it's out in the wild.