-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add column to feature table of pokemon sprite terminal scripts #3
Comments
Hey @acxz that's cool thanks :) That's weird about the speeds. I did some testing again with your script and I get that krabby is indeed about 1.3x slower than pokemon-colorscripts when printing a specific pokemon and only a tiny bit faster when printing random pokemon. I can't reproduce your results with pokeget however. Do you need enable the caching somehow? Now I wonder how I ever got the 7x number :D Maybe I compared it to the python version instead by mistake somehow. I will update my README to reflect this. |
Yes I did enable caching (by editing the ~/.config/pokeget/pokeget.conf file) it is not default behavior. Thank you for testing it out and being honest. Yea, I did feel like a speed up from a compiled program for this task was a bit fishy, but I'm glad you created this project and gave us the data point for it. If you do want to try another pass at getting something faster take a look at oil. It's supposed to be a shell lang that is a more modern take. idk if ur interested or not, but thought I'd mention it. It may not even be faster than bash, as it does have more overhead than bash I believe. |
btw feel free to send PRs to that table, when u incorporate more features/add improvements |
Hey @yannjor I finally got around to testing your codebase and added a column to the comparison table.
Let me know if you have any qualms or suggestions.
One thing to note, is that the bash script
pokeget
(cached) is actually faster thankrabby
(cached). I was wondering if you have any thoughts and if u can also reproduce those results.Comparing with the old version of the bash script, I get that krabby is 1.3x slower instead of 7x faster.
The text was updated successfully, but these errors were encountered: