4 ms·
I am actually not a 100% how far the compatibility shows. When I test Async gem with httparty and open-uri, there is no speed-up when comparing with threads: h
by oezi 5y ago
I am actually not a 100% how far the compatibility shows. When I test Async gem with httparty and open-uri, there is no speed-up when comparing with threads:
https://gist.github.com/coezbek/07061fb7de2b036bf5c69f8a8b8cc3e5 https://gist.github.com/coezbek/07061fb7de2b036bf5c69f8a8b8c...
I might be using it wrong...
- oezi 5y agoHa! This only works with Ruby 3.0, because only since then are standard library function using async-compatible methods internally.