Skip to content

Conversation

@vigo2
Copy link

@vigo2 vigo2 commented Nov 6, 2025

Thanks for proposing a pull request!

To help us review the request, please complete the following:

  • sign contributor license agreement
  • I've ensured that all existing tests pass and added tests (when/where necessary)
  • I've updated the documentation (when/where necessary) and Changelog (when/where necessary)
  • I've added the proper label to this pull request (e.g. bug for bug fixes)

Pull Request Details

Describe what you accomplished in this pull request (for example, what happens before the change, and after the change)

Before:

FacebookImporter.OnPostprocessAllAssets() has a meaningful impact on every import operation, especially regarding allocations.

After:

It'll typically do next to no work, and be allocation-free.

Original commit comment: Change FacebookImporter to skip all non-FacebookSDK files via path.StartsWith("Assets/FacebookSDK/"). This saves a lot of needless string concatenations (2 per Set*Configuration call, or 2 x 32 per imported file).

Test Plan

Probably not needed ;)

… This saves a lot of needless string concatenations (two per Set*Configuration call)
@meta-cla meta-cla bot added the CLA Signed label Nov 6, 2025
@vigo2 vigo2 changed the title Skip unnecessary work in FacebookImporter enhancement: skip unnecessary work in FacebookImporter Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant