Skip to content

Optimize object retrieval in ObjectList - #147

Merged
bact merged 1 commit into
JPEWdev:mainfrom
bact:objectset-optimize
Aug 26, 2026
Merged

Optimize object retrieval in ObjectList#147
bact merged 1 commit into
JPEWdev:mainfrom
bact:objectset-optimize

Conversation

@bact

@bact bact commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Create a dict of object ids and objects once at init.

Use the dict for get().

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact
bact merged commit c66456d into JPEWdev:main Aug 26, 2026
18 of 19 checks passed
@bact
bact deleted the objectset-optimize branch August 26, 2026 07:30
@github-actions

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/shacl2code/lang
  common.py
Project Total  

This report was generated by python-coverage-comment-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants