Can someone explain the workflow of the JIT compiler? I am interested in basic functionality. When is compiled code saved, what causes it to be deleted, and what causes it to be recompiled.
I read somewhere that changing directories forces a reset of previously compiled code, but I couldn't find any documentation explaining this.
My goal is to write maximally optimized code. Another Q - I've also noticed that a large software package opens faster the second time I open matlab, suggesting that JIT compiled code "lingers" even after closing and reopening matlab. Is this true?
7 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638005
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638005
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638019
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638019
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638035
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638035
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638043
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638043
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638047
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638047
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638061
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638061
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638078
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/430098-documentation-on-jit-compiler#comment_638078
Sign in to comment.