Skip to content

refactor: make VariableMap implement IVariableMap. - #8395

Merged
gonfunko merged 5 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:variable-map-implement
Jul 19, 2024
Merged

refactor: make VariableMap implement IVariableMap.#8395
gonfunko merged 5 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:variable-map-implement

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes#8074

Proposed Changes

This PR makes the existing VariableMap class implement the new IVariableMap interface. I also changed the backing store from a map of arrays to a map of maps, since this made implementing the new methods easier and allowed for efficiency improvements in some of the existing ones.

@gonfunko
gonfunko requested a review from a team as a code ownerJuly 18, 2024 18:28
@gonfunko
gonfunko requested a review from BeksOmegaJuly 18, 2024 18:28
@github-actionsgithub-actionsBot added the PR: refactor Refactors code label Jul 18, 2024
@gonfunko
gonfunkoforce-pushed the variable-map-implement branch from 40dfba0 to 76d05b7CompareJuly 18, 2024 19:18

@BeksOmegaBeksOmega left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review!

Comment threadcore/variable_map.ts
Comment threadcore/variable_map.ts
Comment threadcore/variable_map.ts
Comment threadtests/mocha/variable_map_test.js Outdated

@BeksOmegaBeksOmega left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great =) Thanks for the changes!

@gonfunko
gonfunko merged commit 02e64be into RaspberryPiFoundation:rc/v12.0.0Jul 19, 2024
@gonfunko
gonfunko deleted the variable-map-implement branch July 19, 2024 17:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: refactorRefactors code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@gonfunko@BeksOmega