Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storing offsets in a Map instead of passing them down through an array #1061

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

Janther
Copy link
Contributor

@Janther Janther commented Nov 3, 2024

the initial approach that moved offsets between parent and child has been replaced by an approach that stores and consumes the offset based in the CST id.

This id has been available since slang 0.18.2.

the main file to review here is slang-utils/metadata.ts since everything else is just the removal of the passing along of the offsets.

@Janther Janther requested a review from fvictorio November 3, 2024 07:04
@fvictorio
Copy link
Member

I only skimmed the code but I don't think I can offer a valuable review here. Feel free to merge without my approval. But if you have specific things you are not sure about, let me know and I'll check those.

@Janther Janther merged commit 4c15c9b into v2 Nov 14, 2024
7 checks passed
@Janther Janther deleted the new-offset-strategy branch November 14, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants