I'm a developer, and as part of the development process we'll often 'do something once if it hasn't been done before' in certain parts of our code.
For example, if I require a connection to a database I will connect only if I'm not already connected, I will not try to connect to the database if I am already connected.
I want the word that goes into these blanks:
I am acting or am coding [......] by checking for a connection first prior to connecting.
If I connected to the database twice it would not be [.......].
There is definitely a word for this, but it escapes me.
Apologies for the example, but it's the exact context in which I'd typically use this word. Another example may be only assigning a value to a variable if it hasn't already been assigned a value. Basically, avoiding redundant and unnecessary action by checking it had already been done.
Word It's Not:
- Efficient/ly, efficiency
- Optimal, optimisation
- Concise
- Singular, single
- Elegant, elegance
EDIT
Since a bounty of 100 has been assigned, I think it deserves another example:
I will give my variable the value 'A123' if I have not, previously, gave my variable the value 'A123'