[obs-commits] [openSUSE/open-build-service] 128ead: Use inline array functions for returned arrays
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 128ead1c4a58d80417ac223aa39ea65a38680e05 https://github.com/openSUSE/open-build-service/commit/128ead1c4a58d80417ac22... Author: Stephan Kulow <coolo@suse.de> Date: 2018-12-03 (Mon, 03 Dec 2018) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/app/controllers/statistics_controller.rb M src/api/app/controllers/webui/groups_controller.rb M src/api/app/controllers/webui/main_controller.rb M src/api/app/controllers/webui/monitor_controller.rb M src/api/app/controllers/webui/package_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/jobs/consistency_check_job.rb M src/api/app/mixins/has_relationships.rb M src/api/app/models/attrib.rb M src/api/app/models/bs_request/find_for/base.rb M src/api/app/models/bs_request/find_for/user_group_mixin.rb M src/api/app/models/cloud/backend/upload_job.rb M src/api/app/models/kiwi/image.rb M src/api/app/models/obs_factory/openqa_job.rb M src/api/app/models/project.rb M src/api/app/models/repository.rb M src/api/app/models/status_history.rb M src/api/app/models/user.rb M src/api/app/models/user_ldap_strategy.rb M src/api/app/presenters/obs_factory/staging_project_presenter.rb M src/api/lib/statistics_calculations.rb Log Message: ----------- Use inline array functions for returned arrays Inspired by @bgeuken's comment: https://github.com/openSUSE/open-build-service/pull/6425#discussion_r2381061... The performance gain is most likely unmeasurable but it's still a good default not to waste another array allocation Commit: 68fa993f61edeff266650798320a2c11be755514 https://github.com/openSUSE/open-build-service/commit/68fa993f61edeff2666507... Author: Stephan Kulow <coolo@suse.de> Date: 2018-12-03 (Mon, 03 Dec 2018) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/app/controllers/statistics_controller.rb M src/api/app/controllers/webui/monitor_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/jobs/consistency_check_job.rb M src/api/app/models/backend_package.rb M src/api/app/models/project.rb M src/api/app/models/user.rb Log Message: ----------- Prefer sorted pluck over plucking sort Commit: 989c5305c611be6e3cde6a34c8254b2eb71ecf31 https://github.com/openSUSE/open-build-service/commit/989c5305c611be6e3cde6a... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-12-04 (Tue, 04 Dec 2018) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/app/controllers/statistics_controller.rb M src/api/app/controllers/webui/groups_controller.rb M src/api/app/controllers/webui/main_controller.rb M src/api/app/controllers/webui/monitor_controller.rb M src/api/app/controllers/webui/package_controller.rb M src/api/app/controllers/webui/project_controller.rb M src/api/app/jobs/consistency_check_job.rb M src/api/app/mixins/has_relationships.rb M src/api/app/models/attrib.rb M src/api/app/models/backend_package.rb M src/api/app/models/bs_request/find_for/base.rb M src/api/app/models/bs_request/find_for/user_group_mixin.rb M src/api/app/models/cloud/backend/upload_job.rb M src/api/app/models/kiwi/image.rb M src/api/app/models/obs_factory/openqa_job.rb M src/api/app/models/project.rb M src/api/app/models/repository.rb M src/api/app/models/status_history.rb M src/api/app/models/user.rb M src/api/app/models/user_ldap_strategy.rb M src/api/app/presenters/obs_factory/staging_project_presenter.rb M src/api/lib/statistics_calculations.rb Log Message: ----------- Merge pull request #6429 from coolo/use_inline_sorting Use inline array functions for returned arrays Compare: https://github.com/openSUSE/open-build-service/compare/896193772938...989c53... **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Björn Geuken