-
Notifications
You must be signed in to change notification settings - Fork 15
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
require "unicode_utils" takes a very long time #6
Comments
I think this issue is windows specific, I am also experiencing it on Win8.1. I have been able to narrow the problem down to /lib/unicode_utils/charname.rb:9 where the NAME_MAP is loaded. |
I can confirm this problem on windows machines: Windows 7: 125 seconds |
When the "names" files is read and put into a map, on Windows 7 64 Bit using mintty this is very very slow, to the point I stopped the program because I thought it hanged.
|
… in the whole line then split the line accordingly
I've installed unicode_utils on R2.0 on windows 7 x64. When I execute this:
require "time"
beginning_time = Time.now
require "unicode_utils"
end_time = Time.now
puts "Time elapsed #{(end_time - beginning_time)} seconds"
it outputs "Time elapsed 94.805422 seconds" (or something to that effect -- times vary between 93 and 101 seconds"
The text was updated successfully, but these errors were encountered: