Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
Is posting a list of SharedArrayBuffer to a worker legit?

I have hundreds of Uint8 typed arrays that I store in a list. I would like to start implementing Web Workers in my code, I need these typed arrays to be available to all my workers at the same time. So I need to create SharedArrayBuffer. I had in mind to send a list of SharedArrayBuffer instead of a single SharedArrayBuffer that gathers all my data and converts them to a typed array only once at initialization in my workers. This method would simplify the code a lot. but in all the examples I could find, it was always just a single SharedArrayBuffer that was sent to the worker with postMessage. Would this be a bad way of using it? Will it cause me any performance issues or anything else?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda