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

Fix performance problem in rename implementation #532

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

nikitinas
Copy link
Contributor

@nikitinas nikitinas commented Dec 7, 2023

Currently DataColumn object is used as a key for associateBy in rename implementation. It leads to computation of rolling hash function and scanning through all column data. This problem can be seen in stack trace for #526

Instead, a column path should be used as column id.

@Jolanrensen Jolanrensen added the enhancement New feature or request label Dec 8, 2023
@Jolanrensen Jolanrensen added this to the 0.13.0 milestone Dec 8, 2023
@Jolanrensen Jolanrensen self-requested a review December 12, 2023 12:26
@Jolanrensen
Copy link
Collaborator

Thanks! Could you rebase on the master so that the TeamCity tests pass (includes #535) and assemble the project to make sure the doc processor is run and the generated-sources are updated? Then I can merge it :)

…nstead of column content as a key for `associateBy`.
@nikitinas nikitinas force-pushed the fix-rename-performance branch from 72ef35d to 046cd0c Compare December 12, 2023 17:05
@nikitinas
Copy link
Contributor Author

Done

@Jolanrensen Jolanrensen merged commit b6983cf into Kotlin:master Dec 13, 2023
@nikitinas nikitinas deleted the fix-rename-performance branch December 16, 2023 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants