Project

General

Profile

Actions

Architecture #2878

closed

Does lazy for injected services matter?

Added by François ARMAND about 12 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Architecture - Code maintenance
Effort required:
Name check:
Fix check:
Regression:

Description

When correcting #2826 (cf: commit ddb9c4efefe1b7cb4d36c2d0010dde2b92ef86de), some "lazy val" were introduced in place of the old "val".

The reason if that it seems to be faster that way.

So, we have to:

- check if there is an actual semantic difference between the two;
- if not, try to assess what is the faster in Rudder way of using them;
- if we can't assess that, decide for a policy to use, and use it everywhere.

Actions #1

Updated by Nicolas CHARLES almost 12 years ago

  • Target version changed from 24 to Ideas (not version specific)
Actions #2

Updated by François ARMAND about 8 years ago

Nobody cares.

Actions #3

Updated by François ARMAND about 8 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF