Author serhiy.storchaka
Recipients davin, dtasev, sbt, serhiy.storchaka
Date 2017-07-13.15:43:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It can be significantly sped up if replace the writing loop with

    if size:
        os.lseek(self.fd, size, 0)
        os.write(self.fd, b'')
        os.lseek(self.fd, 0, 0)

or just with

    os.truncate(self.fd, size)

(not sure the latter always works).

But instantiating an open Arena will still be slower than in 2.7.
Date User Action Args
2017-07-13 15:43:27serhiy.storchakasetrecipients: + serhiy.storchaka, sbt, davin, dtasev
2017-07-13 15:43:27serhiy.storchakasetmessageid: <>
2017-07-13 15:43:27serhiy.storchakalinkissue30919 messages
2017-07-13 15:43:27serhiy.storchakacreate