Well, the idea here is that with libraries in pure source form, a partial evaluator could be able to specialize and shrink down the program automatically, as you describe. So you'd get the best of both worlds.
I'm not aware of any systems that actually do this on a global level, but I have a feeling I may be surprised if I start looking around.