non hai preso un abbaglio per nessuna delle due ipotesi..un' ottimizzazione anche in quel senso aumenterebbe le performance