SciML / SciML/MultiScaleArrays.jl

Fast path for broadcasting with an array

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
77
Forks
17
Avg merge
8h 9m
Merged PRs (30d)
12

Description

When an array is in the broadcast, it falls back to a full indexing form. A better thing to do would be recursive views via @generated functions, but to get v0.7 working this is being skipped over for now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the broadcasting path where arrays fall back to full indexing. Read the surrounding broadcast implementation and investigate how recursive views via Julia's @generated functions could support the fast path. Done means array broadcasting no longer uses the full indexing form while preserving the intended v0.7 behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.