-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Refactor lookup hash tables/objects #6915
Conversation
TODO:
|
4cc3ebd
to
b59baf9
Compare
not all hasOwnProperty we can remove atm (one in canvas.js shall be refactored to use instanceof instead) /botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.22.172.223:8877/6e9bf13ac6311ec/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.21.233.14:8877/66701d2df93b6fd/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/66701d2df93b6fd/output.txt Total script time: 21.23 mins
|
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/6e9bf13ac6311ec/output.txt Total script time: 21.83 mins
|
b59baf9
to
2edf279
Compare
intialization arrays are replaced by js code /botio test |
r+ pending test runs |
From: Bot.io (Windows)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.22.172.223:8877/87c78b02446ac72/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_test from @yurydelendik received. Current queue size: 0 Live output at: http://107.21.233.14:8877/876939fdf6ee02f/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/87c78b02446ac72/output.txt Total script time: 19.98 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/876939fdf6ee02f/output.txt Total script time: 21.46 mins
|
/botio-windows preview |
From: Bot.io (Windows)ReceivedCommand cmd_preview from @yurydelendik received. Current queue size: 0 Live output at: http://107.22.172.223:8877/b32d786bec11138/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/b32d786bec11138/output.txt Total script time: 1.29 mins Published |
Refactor lookup hash tables/objects
(makes #6777 easier -- some dependencies where moved from font.js) |
Fixes #6774 (by adding lazy initialization to the large lookup tables).
Mostly refactors fonts.js file by moving large tables to separate files. Also replaces literal
{}
usages for cache and lookup tables.