Skip to content
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

Stop including cidmaps.js #5088

Merged
merged 2 commits into from
Jul 25, 2014
Merged

Stop including cidmaps.js #5088

merged 2 commits into from
Jul 25, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

In b5b94a4, i.e. PR #4259, we stopped using cidmaps.js. Despite that, it's still included when PDF.js is built. At almost 0.5 MB (and approx. 7000 lines), this is currently the single largest file in the codebase.
Including such a large file in the builds, when it is not actually used, seems extremely wasteful; hence this patch.

@Rob--W
Copy link
Member

Rob--W commented Jul 25, 2014

If the file is not used, delete it. If it is ever needed again, then it can be recovered from version control.

@timvandermeij
Copy link
Contributor

I agree with Rob. Keeping the file would clutter the codebase, and being able to recover files if necessary is why Git is used in the first place :)

In b5b94a4, i.e. PR #4259, we stopped using cidmaps.js. Despite that, it's still included when PDF.js is built. At almost 0.5 MB (and approx. 7000 lines), this is currently the single largest file in the codebase.
Including such a large file in the builds, when it is not actually used, seems extremely wasteful; hence this patch.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/02d5e40eeacd62a/output.txt

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/f0a6d18935ba89b/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.22.172.223:8877/0e20d7be503ac58/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/0e20d7be503ac58/output.txt

Total script time: 21.18 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/f0a6d18935ba89b/output.txt

Total script time: 22.88 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij
Copy link
Contributor

Looks good to me. I'll leave the final check for @yurydelendik.

@yurydelendik
Copy link
Contributor

Looks good. Thanks.

yurydelendik added a commit that referenced this pull request Jul 25, 2014
@yurydelendik yurydelendik merged commit 1e52c77 into mozilla:master Jul 25, 2014
@Snuffleupagus Snuffleupagus deleted the stop-including-cidmaps.js branch July 25, 2014 22:32
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.

5 participants