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

cpu 100% after (read) in the command-line REPL #4964

Open
sorawee opened this issue Apr 2, 2024 · 1 comment
Open

cpu 100% after (read) in the command-line REPL #4964

sorawee opened this issue Apr 2, 2024 · 1 comment

Comments

@sorawee
Copy link
Collaborator

sorawee commented Apr 2, 2024

What version of Racket are you using?
8.12.0.14 [cs]

What program did you run?

$ racket
Welcome to Racket v8.12.0.14 [cs].
> (read)

At this point, the cpu usage is still normal.

After typing 1 and pressing enter, the interaction becomes:

$ racket
Welcome to Racket v8.12.0.14 [cs].
> (read)
1
1
>

with 100% cpu usage

What should have happened?

Not 100% cpu usage

If you got an error message, please include it here.

N/A

Please include any other relevant details

Apple M2

@sorawee
Copy link
Collaborator Author

sorawee commented Apr 2, 2024

read-char has the same problem, but read-line does not.

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

No branches or pull requests

1 participant