You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
atetubou
changed the title
regexp: Use []bool instead of map[utint32]bool in makeOnePass
regexp: Use []bool instead of map[uint32]bool in makeOnePass
Apr 15, 2017
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version devel +560f60dc18 Sat Apr 15 11:55:09 2017 +0900 darwin/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I found that regexp package uses map in makeOnePass function where array is sufficient.
What did you expect to see?
Using array instead.
Gain better performance.
What did you see instead?
Using map.
The text was updated successfully, but these errors were encountered: