Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
plotly
/
plotly.js
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2k
Star
18.3k
Code
Issues
757
Pull requests
66
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Optimize performance of setCategoryIndex
- #1544
#1544
Merged
alexcjohnson
merged 13 commits into
plotly:master
plotly/plotly.js:master
from
hy9be:perf-setcategoryindex
hy9be/plotly.js:perf-setcategoryindex
Copy head branch name to clipboard
Apr 10, 2017
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Optimize performance of setCategoryIndex
#1544
alexcjohnson
merged 13 commits into
plotly:master
plotly/plotly.js:master
from
hy9be:perf-setcategoryindex
hy9be/plotly.js:perf-setcategoryindex
Copy head branch name to clipboard
Commits
Commits on Mar 31, 2017
Optimize performance of setCategoryIndex
Show description for 40e69d3
hy9be
authored
40e69d3
View commit details
Copy full SHA for 40e69d3
Browse repository at this point
Update unit test
hy9be
authored
b47c7af
View commit details
Copy full SHA for b47c7af
Browse repository at this point
Commits on Apr 3, 2017
Refactor the changes
hy9be
authored
e8941d6
View commit details
Copy full SHA for e8941d6
Browse repository at this point
Build the lookup map for initialized categories
hy9be
authored
b3fb03d
View commit details
Copy full SHA for b3fb03d
Browse repository at this point
Reset the lookup map when the categories are reset
hy9be
authored
2992126
View commit details
Copy full SHA for 2992126
Browse repository at this point
Commits on Apr 5, 2017
Optimize the scatter trace sorting comparator with map
Show description for 989f07a
hy9be
authored
989f07a
View commit details
Copy full SHA for 989f07a
Browse repository at this point
Commits on Apr 8, 2017
Merge remote-tracking branch 'origin/master' into perf-setcategoryindex
hy9be
committed
91cfaa4
View commit details
Copy full SHA for 91cfaa4
Browse repository at this point
Clean ESLint errors in CI
hy9be
committed
abcd729
View commit details
Copy full SHA for abcd729
Browse repository at this point
getCategoryIndex falls back to the former implementation to fix the failed unit test case
hy9be
committed
153f547
View commit details
Copy full SHA for 153f547
Browse repository at this point
Fix another problem in getCategoryIndex
hy9be
committed
ff043b4
View commit details
Copy full SHA for ff043b4
Browse repository at this point
Add comments
hy9be
committed
c32163e
View commit details
Copy full SHA for c32163e
Browse repository at this point
Commits on Apr 10, 2017
Remove the fallback to indexOf search in getCategoryIndex, update the mock object in unit test instead
hy9be
committed
d2be6c9
View commit details
Copy full SHA for d2be6c9
Browse repository at this point
Remove out of date comments
hy9be
committed
14d6649
View commit details
Copy full SHA for 14d6649
Browse repository at this point
You can’t perform that action at this time.