Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated…

Supprimer ce message

Répondre à ce message
Auteur: anonym
Date:  
À: The Tails public development discussion list
Sujet: Re: [Tails-dev] Persistent torrc [Was: Tails Server: updated plan and GSoC!]
segfault:
> I just noticed that actually I do not parse the config files every time
> I need an option value. I only read the value the first time I need it
> and then store it in a variable. I do write to the config files
> everytime the value is set though.
> I can test later how much the performance impact of parsing the config
> files every time.


I'd be surprised if it was noticeable. For the record, I'd be willing to
pay even a 1 second delay to get the nice property of never having state
out of sync and thus avoid a whole class of subtle bugs. :)

Cheers!