-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The function PLAIN_LIST converts any other type of internal lists (blists, strings, ranges) into plain lists. This is a powerful function that can lead to very surprising and problematic results, hence it would be good to minimize or even remove its usage. It turns out that in quite some places, we first make a shallow copy of a list and then apply PLAIN_LIST to that. So here we introduce a new helper which combines the two tasks into one and avoids the in-place conversion altogether. This let's the remaining uses of PLAIN_LIST in the kernel stand out more.
- Loading branch information
Showing
4 changed files
with
47 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters