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

Very slow performance #60

Open
iMerica opened this issue Mar 28, 2021 · 1 comment
Open

Very slow performance #60

iMerica opened this issue Mar 28, 2021 · 1 comment

Comments

@iMerica
Copy link

iMerica commented Mar 28, 2021

Description
Thanks for working on this project. I just wanted to note that there is lots of room for improvement in the performance department. A quick test:

start = time.time()
words = [r.get_random_word() for i in range(100)]
duration = end = time.time()

# duration is 30.501307725906372 seconds

Steps to Reproduce

  1. Call any random word method
  2. Observe how incredibly slow everything is.

Expected behavior
I understand the constraints of entropy, but I would expect something a bit faster than what I'm currently seeing.

Environment (please complete the following information):

  • OS: Mac OS (2020 Macbook Pro)
  • Python 3.9
@serg06
Copy link

serg06 commented Apr 25, 2021

Incredibly slow.

import time
start = time.time()
words = [r.get_random_word() for i in range(100)]
end = time.time()
duration = end - start
print(duration)

Result:

39.74612474441528

OS: Windows 10
Python: 3.7
Hardware: 5950x and 980 Pro

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

No branches or pull requests

2 participants