haskell / haskell/alex

Use unsafeShiftR in utf8Encode

Open
#129 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
323
Forks
87
PR merge metrics
No merged PRs in 30d

Description

That could be a tiny bit faster than the current use of `shiftR`.

Since `unsafeShiftR` has been in base since v4.5 / GHC-7.4, could it even be used unconditionally?! `alex` currently claims a rather dubious lower bound on base of `>= 1.0`…

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.