2 ms·
If you're doing more than one of those in a single document, having a persistent connection object and sending it request messages wins. (Though open-uri could
by derefr 16y ago
If you're doing more than one of those in a single document, having a persistent connection object and sending it request messages wins. (Though open-uri could actually do this, if it cached the connection objects by host:port.)