This is just a technical question, not about any particular project.
Consider a typical isolated 230VAC to 5.1 VDC 2.1A USB wall wart. If I wanted it both efficient (at most half a watt of wasted power) and with a really good power factor (say, apparent power no more than half a watt more than real output power), how expensive, complex, and big would it be?
Similarly, if I wanted a constant-current DC voltage for LED lighting from 230VAC (I cannot stand the 100Hz flicker), with good efficiency and good power factor, how expensive would it be (for different ranges of "good")?
The underlying question I am pondering is how difficult and/or expensive will it be to get more efficient and better power factor wall warts and LED lights, when electricity companies eventually start charging even residential users for apparent power. You'd think a watt here and a watt there does not matter, but in my particular case, those darn things do add up.