Skip to content

Conversation

@JavierLeon9966
Copy link
Contributor

Introduction

Helping the #6092 PR.

}

$listenersByPriority = [];
$concurrentAsyncListenersByPriority = [];
Copy link
Member

Choose a reason for hiding this comment

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

Are you sure we want 34-character-long variable names?

Copy link
Contributor Author

@JavierLeon9966 JavierLeon9966 Oct 23, 2023

Choose a reason for hiding this comment

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

The other option is to make $listenersByPriorityByType[0], $listenersByPriorityByType[1], and $listenersByPriorityByType[0] but if we don't hardcode these values it would make it longer than before.

Copy link
Member

Choose a reason for hiding this comment

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

Do we actually need to mention all four keywords ("concurrent", "async", "priority", "listener") in the same variable name?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think so, we have to find shorter terms.

@ShockedPlot7560
Copy link
Member

Superseded by aaa37ba

@ShockedPlot7560 ShockedPlot7560 added Category: Core Related to internal functionality Type: Fix Bug fix, typo fix, or any other fix Resolution: Obsolete Superseded by other changes labels Oct 27, 2023
@JavierLeon9966 JavierLeon9966 deleted the optimize-listeners branch February 13, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core Related to internal functionality Resolution: Obsolete Superseded by other changes Type: Fix Bug fix, typo fix, or any other fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants