1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Python "move semantics"

Discussão em 'Python' iniciado por Stack, Setembro 25, 2024.

  1. Stack

    Stack Membro Participativo

    I have a main thread which needs to flush a buffer to disk periodically, so every time I create a new Thread to run json.dump(buffer). But immediately after this I need to clear the buffer, so is there "move semantics" in Python which lets me do this without having to make a deep copy of it?

    Continue reading...

Compartilhe esta Página