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

This method on typed arrays #20

Open
zloirock opened this issue Nov 24, 2020 · 5 comments
Open

This method on typed arrays #20

zloirock opened this issue Nov 24, 2020 · 5 comments

Comments

@zloirock
Copy link
Contributor

Makes it sense or not?

@Jack-Works
Copy link
Member

TypedArrays are used to store binary-like data, it is not representing a list of items in the thinking model so I think it is strange to support this on those.

@zloirock
Copy link
Contributor Author

@Jack-Works they are just optimized for numbers arrays. Sometimes we have arrays of numbers and we should get unique values from those arrays. I think that makes no sense to limit this possibility.

@Jack-Works
Copy link
Member

IIRC typed arrays don't have .map, .filter etc, maybe that reason applies here

@zloirock
Copy link
Contributor Author

They have those methods.

@Jack-Works
Copy link
Member

Oh so we should match them

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

No branches or pull requests

2 participants