Skip to content

Reduce startup time.#1294

Merged
nguyenhuy merged 1 commit into
TextureGroup:masterfrom
dmaclach:static4
Jan 17, 2019
Merged

Reduce startup time.#1294
nguyenhuy merged 1 commit into
TextureGroup:masterfrom
dmaclach:static4

Conversation

@dmaclach

Copy link
Copy Markdown
Contributor

Initializing the LUT arrays at file level scope creates a large chunk of code retaining and releasing all of the NSStrings in the tables. Moving them to function level moves the initialization to being lazy.

@ghost

ghost commented Dec 19, 2018

Copy link
Copy Markdown

🚫 CI failed with log

Initializing the LUT arrays at file level scope creates a large chunk of code retaining and releasing all of the NSStrings in the tables. Moving them to function level moves the initialization to being lazy.
@dmaclach

Copy link
Copy Markdown
Contributor Author

ping?

@nguyenhuy nguyenhuy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice!

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