Keeping wire losses low feeding the inverter (or anything from the inverter) is very good practice.
Keeping wire losses low everywhere is rather important for RE systems.
I would try to keep total wire losses to 5% or less from the source to the end use..
This includes solar panel (or wind gen) to controller to battery bank to inverter to end use.
Don't figure each place (like battery to inverter) for 5% wire loss--these add up in a hurry.
Wire loss is easy to figure.
Single Phase or DC Voltage drop = L (length of run one way) x 2 x I (amps) x R (get this "R" figure from a wire table) divided by 1000
L x 2 x I x R
-------------
divide above by 1000
Three Phase Voltage Drop is
L (one way length) x 1.73 (the square root of 3 rounded) x I x R
-----------------------------------
Divided by 1000
Shoot for all the losses added together to be 5% or less (less is better but way more expensive). There's enough losses (I^2 x R) in a 1/2/3/more phase genny to live with without having more inline (unless needed to avoid stall, etc) and solar effeciency is low enough without added losses taking a share of the output.