Closed zhucj1981 closed 4 years ago
Use the runtime path instead
I see your point now. However what you are doing is equivalent to running "javac" on each file separately. We can improve the API and allow compiling multiple modules at a time.
In my case, I have lots of epls, and some epl may be depend on others, so i need add compiled to compile path. Because compile process is stateless, each call of compile will re-generate some information from same compiled object in compile path again and again, there is a lot of redundancy.
changes will be in the next release
In the following code, compile time increase significantly compare with epl statement number.
It cost 162 seconds on my pc.