These are chat archives for anacrolix/torrent

17th
Jul 2018
Matt Joiner
@anacrolix
Jul 17 2018 00:09
Caching filehandles didn't help?
According to that profile, closing the handles was the expensive bit on Windows?
Denis
@elgatito
Jul 17 2018 03:53
I could also do it in the wrong way with caching filehandles
It can be not the expensive call, but long waiting for return from a syscall
Denis
@elgatito
Jul 17 2018 06:23
Looking at transmission caching source code
Looks not so complicated
There are openfile flags for different platforms as well, will be helpful to migrate
Matt Joiner
@anacrolix
Jul 17 2018 07:37
i'm not sure the flags are the key to it, can you link to some promising looking areas?
i poked through their code recently and modified the initial message order as a result
i think i might have found a problem with dht
i'm sure flags won't help, but it's good to use them on windows
Matt Joiner
@anacrolix
Jul 17 2018 08:21
the run cache looks very similar to what i was considering
i think i'll try something like that
the flags look essentially identical, i don't think there's anything to be gained with fiddling those