Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Data.List.NonEmpty wherever appropriate #263

Open
Mikolaj opened this issue Aug 12, 2021 · 0 comments
Open

Use Data.List.NonEmpty wherever appropriate #263

Mikolaj opened this issue Aug 12, 2021 · 0 comments

Comments

@Mikolaj
Copy link
Member

Mikolaj commented Aug 12, 2021

There are very few performance bottlenecks where lists are used (because lists are slow) so the performance degradation should be minuscule. Certainly it's safe for any ad-hoc lists that are not parts of defined datatypes. Sometimes it's hard to tell if a list can become empty, but there are many easy cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant