They are there to reduce losses through pressure change as the air enters the inlet. they also aid pulse effect.
longer= more torque lower down and higher power at a lower peak rpm,
Conversely for shorter, they will aid power at higher rpm.
Main limitation is space, generally you want to get as long as poss, hence why the shorter rad is ideal on the clio ITB installs.