-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dont loop through the labels to avoid collisions (#5672)
* Dont loop through the labels to avoid collisions Instead a map is used to know what labels have what original value and display text, they are uniquely defined by this. Before was naively looping through the labels to check and merge them in a preceding step. Same goes for intsId, it is simply tracked now instead of found by looping. Both loops are now lookups at the cost of a little maintenance Fixes jasp-stats/jasp-issues#2910 (extremely slow loading of semibig text file) * Add yet another map... Looping through the labels to find the Non-missing ones slows down the application quite a bit with bigger datasets. so instead make a mapping in labelsTempCount() that we can easily query.
- Loading branch information
1 parent
b6e2a6f
commit 355382a
Showing
5 changed files
with
164 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.