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

110
Visualizações
What does the FeedbackSlot size(length) mean?

Some questions about Feedback:

  1. as the title asked

  2. A slot site that only encounters objects of a single hidden class is called monomorphic; if it encounters objects of two hidden classes, it is called polymorphic; if it is greater than 2, it is called megamorphic. Is that right? Then does the slot size have anything to do with polymorphic?

  3. What is the IC handler? Is it a <code>?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

  1. I don't understand the question. The class FeedbackSlot has no size and no length. Maybe you mean FeedbackMetadata::GetSlotSize? ICs of different kinds need different numbers of entries in the feedback vector (usually 1 or 2).

  2. No, polymorphic state can handle more than two cases, currently up to 4 (but that could change over time). The number of feedback vector slots that an IC can use does not (and cannot!) change depending on its state. If more data needs to be stored, indirections must be used.

  3. No, often it's just a Smi encoding a bit field; when that isn't enough, it's a small data class, see e.g. class LoadHandler: it derives from DataHandler which derives from Struct.

about 4 years ago · Juan Pablo Isaza Relatório
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