Re: read-string performance C5 vs C6

Diego via Chicken-users <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <JVZmN3r7g01Wvi2RAyWm-36T_oKKvmdnRB0HDYrq4IPUUXXy5WbKVMyOHEqn5-I0MEDEwnBtBK9jS7mxWkXquu_OIkm0S5sGzP8hnlwA0rY=@pm.me>
> If you replaced the read-string with void, and the speed remained the same, 

Sorry, I worded this terribly. What I meant to say is when I replaced read-string with void the performance across the two CHICKEN versions was similar; I to longer saw the large discrepancy.

But you bring up a good test; read-string is also near instant from a local file for me so yes, it's more likely the difference is somewhere in http retrieval. Void is doing no actual reading from the socket and therefore also not exercising a key part of the call, so in using it I inadvertently cut out two factors instead of one.

Thanks,
Diego
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.