Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Increased segment value range from Int8 to Int16 to fit all characters #75

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

Havunen
Copy link
Contributor

@Havunen Havunen commented Sep 20, 2018

This PR fixes bug caused by #74 where all characters dont fit Int8Array, sorry for that... :(

I added test cases to catch the issue in future

@Rich-Harris
Copy link
Owner

Nice, thank you — do you know if this has any impact on perf?

@Havunen
Copy link
Contributor Author

Havunen commented Sep 20, 2018

From my tests it was slower than Int8Array, but faster than js regular array.

@Rich-Harris Rich-Harris merged commit 9824935 into Rich-Harris:master Sep 20, 2018
@Rich-Harris
Copy link
Owner

Cool, thanks — released 1.4.3

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

Successfully merging this pull request may close these issues.

2 participants