Skip to content
  • Seb35's avatar
    Use of workers to compute in background · ec822899
    Seb35 authored
    Tested with Shared Worker, but also implemented as Web Worker (to be tested).
    When the text or the grammar is changed, it is sent to the worker which
    compute grammar and links, and returns errors and/or results.
    
    Workers are the primary mechanism for computation, but computation in the
    main thread remains available when workers are not available. Possibly it
    could be a live flag in the future. Computation through workers creates
    non-blocking tabs during computation of the grammar mainly, but computation
    of the links is slightly longer.
    ec822899