Skip to content

Conversation

@etpinard
Copy link
Contributor

This PR computes @monfera 's brilliant indexToPoints map objects (first added in #2126) for sort and groupby transforms, in preparation for transform-compatible persistent selections in #2135 - which will use indexToPoints heavily 💪

More info of the topic in #2128.

cc @monfera @alexcjohnson

@etpinard etpinard added this to the v1.32.0 milestone Nov 15, 2017
Copy link
Contributor

@monfera monfera left a comment

Choose a reason for hiding this comment

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

Looks great! I also run tests with crossfilter event capture and it worked fine (rendering needs more work).


var indexToPoints = newTrace.transforms[state.transformIndex]._indexToPoints;
indexToPoints[indexCnts[groups[j]]] = originalPointsAccessor(j);
indexCnts[groups[j]]++;
Copy link
Contributor

Choose a reason for hiding this comment

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

Neat idea!

@monfera
Copy link
Contributor

monfera commented Nov 15, 2017

💃 great PR!

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