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

Slows down drastically the output of stdout. #1

Open
martinos opened this issue Jan 25, 2011 · 2 comments
Open

Slows down drastically the output of stdout. #1

martinos opened this issue Jan 25, 2011 · 2 comments

Comments

@martinos
Copy link

When I "puts" a big chunk of data it takes about 5-10 times the time to output the stream than when ripl-rocket is not included.

That make ripl-tool unusable in my case.

@janlelis
Copy link
Owner

Thanks for the report. You can deactivate ripl-rocket with: Ripl.config[:rocket_mode] = false

The problem is, that it checks for the right display-width of the whole string, because some unicode-chars are displayed with double-width.

Maybe I'll try to speed it up or add an option to deactivate this unicode support.

@martinos
Copy link
Author

Thanks for your fast answer.

But it seems that Ripl.config[:rocket_mode] = false does not work since
require File.dirname(FILE) + "/rocket/stream_ext" is not the the condition that checks the the rocket_mode.

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

2 participants