Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Performance limitations of CompoundGenerator::get_point

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
performance

Research direction

Start by profiling CompoundGenerator::get_point and tracing its indexing logic for values from component generators using tiled masks. Compare the current buffering and memory-speed tradeoff against scan rates in the kHz range; done means get_point can keep up with the required scan pace without unacceptable memory use.

Written by the indexing model from the issue text.

Description

Malcolm has started running into problems where get_point is unable to keep up with the pace of scans (now into the kHz range) - buffering can only help so much.

get_point has quite a lot of indexing logic to retrieve the values from the component generators based on tiled masks. Can anything be done to simplify this, perhaps by pushing the memory-speed tradeoff made previously further in the "more memory for more speed" direction?

Dominant language
Python
Stars
6
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from DiamondLightSource/scanpointgenerator

All issues in DiamondLightSource/scanpointgenerator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.