Skip to content

Optimization to semantic tokens extracting logic #4049

Closed
@soulomoon

Description

@soulomoon

another thing, though this doesn't have to be addressed in this MR and could be a follow up - now that we are traversing the entire document in order, do we still need to accumulate results into a M.Map Range HsSemanticTokenType? Couldn't we instead directly accumulate a [(Range, HsSemanticTokenType)]?

Originally posted by @wz1000 in #3958 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions