in reply to File: set a new value inside a nested block
Is this a trick question? You can use Benchmark to measure the efficiency of your code.