julia
87ece864 - Compiler/codegen: Devirtualize long tuple splats

Commit
17 days ago
Compiler/codegen: Devirtualize long tuple splats Tuple splats longer than `max_tuple_splat` otherwise remain dynamic `Core._apply_iterate` calls and box each element. Encode a resolved long splat as an invoke whose code instance describes the flattened call while the physical operands retain their tuple containers. Codegen flattens all concrete tuple containers before the normal invoke path. Interpreter and compiler consumers account for the different physical and flattened signatures. Locally constructed tuples may still be flattened at any length, and incoming tuples are preserved instead of being repacked into simple vectors. Fixes #62742 Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: OpenAI Codex <noreply@openai.com>
Author
Committer
Parents
Loading