Out of interest for any cable run internal/external where there are two distances one from the panels to the inverter and the other from the inverter to the consumer unit (assuming that is where it feeds into the grid) what is best a longer DC run or a longer AC run?
How long is a piece of string?
It depends on a number of factors - primarily:
Cable size (cross sectional area) & Solar Panel voltage.
If you have a string with say 15 panels your DC voltage at MPP will be around say 450 volts so if the AC and DC cable sizes are the same there will be less losses in the DC cable so this should be the longest. If you have a couple of strings of say only 6 panels (just a hypothetical example) you may only have 180V DC so - again assuming cable sizes are the same - it would be better to have the longer cable run on the AC side.
There is another consideration, if your total generation meter is mounted next to your inverter then for FiT payment purposes the losses in the AC cable don't matter - though it is not efficient and certainly not in the spirit of greeness,
In reality the installer should size all cables appropriately and it really gets to the point - unless the cable runs are really long say greater than 50m - where any differences in losses between the DC and AC cable are negligible.
Concentrate on getting the best position and layout for the panels, ensure there is absolutely no shading and don't worry about cable losses.
All just my own opinion

Roger