These are chat archives for anacrolix/torrent

16th
Jul 2018
Denis
@elgatito
Jul 16 2018 04:10
what you mean? we just do os.Remove when seeding has finished
Denis
@elgatito
Jul 16 2018 06:59
@anacrolix there are a lot of flags for windows https://golang.org/src/syscall/types_windows.go
and I don't see there are some interesting defaults while opening -https://golang.org/src/syscall/syscall_windows.go#L247
Denis
@elgatito
Jul 16 2018 07:07
i will probably try to add few flags and change Open() to OpenFile() in file.go
with setting some default open flags, platform-specific
Denis
@elgatito
Jul 16 2018 18:33
trying with filehandles stored in sync.map. It's x times slower :)
I have tried setting windows-only flags for OpenFile() function
and the speed was even 20-30 kb/s with 30 active seeds. crazy :D
i'm probably giving up with teh flags test, don't know what else to try
making a cache would probably be the best solution