Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COthanks for your response. Question - is there a way to load / reload the page without reloading / recompiling associated javascript? E.g. website A and B use JQuery. So I load A and JQuery gets JIT-compiled. Why can't I now go to B and have the JQuery script simply stay in memory without being cleared for new recompilation? Is this an inherently complex issue? Or a minor modification that SpiderMonkey pro could do easily? For simplicity suppose we explicitly tell the app which scripts not to reload so there is no complex decision-making and if it doesn't work, we blame the user.
      singulars
    2. COThe current JIT compilation in the mode web scripts are run in bakes things like the pointer to the global object into the compiled code, for maximum performance. It also bakes in information about security decisions. That means that you can't reuse the same jit-compiled code against different global objects. You could disable the compile-and-go optimizations, but that still leaves the compartment issues and so forth. And deoptimizing all that to make reuse possible would lead to much slower code if done naively.
      singulars
    3. COanother question. Based on my experience with compilers for other languages, it would seem reasonable to imagine that whereas some scripts / functions would get DOM related pointers inserted into bytecode others would not. E.g. if there is a huge script called "yet another regex implementation" or some other such purely self-contained module, I would naively :) expect that nothing would be baked into its compilation. Am I being correct here with my assumption? Or is this DOM specific stuff baked into every 2nd line of the bytecode?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload