79805992

Date: 2025-10-31 16:15:51
Score: 1.5
Natty:
Report link

@Mindswipe The alignment problem occurs in the TypeScript. The reason the short array is being converted to a byte array is to leverage the Blazor interop optimisation that I linked from my question. If you transfer a short array, Blazor 64-bit encodes the array before using SignalR to transfer it to the browser, and then converts it back in the TypeScript interop, which introduces a large overhead.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Mindswipe
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Matthew Watson