Re:20-line patch to Firefox 4 that makes startup on Windows ...
by slightlyoff on Monday January 24, 2011 @03:29PM
(#2136624)
Define "logical internal structure"? Most code in a library won't be differentiated by use unless you can provide WPO or PGO-based feedback that you trust as representative. As for the next obvious question ("why not just read in the whole thing?"), I think you can probably guess.
I'm not sure how yucky this is. The world is analog. MSFT made things go faster without asking developers to change anything they were doing. I wish more OSes showed more of this sort of user-centric, data-driven prioritization of feature development.
Re:20-line patch to Firefox 4 that makes startup on Windows ...
by JonnieCache on Monday January 24, 2011 @05:43PM
(#2137105)
I am clearly much less qualified to speak on this subject than you so I defer to you on this one.
All I meant by 'yuck' was that in my limited experience with computer science, whenever there is a solution that involves as blunt a compromise as 'cache the first 10 megabytes,' it isn't usually too long before that solution is known as the 'naive' solution.
Yuck. Is there a good engineering reason for this reliance on the physical location of code within a lib file rather than its logical internal structure? I guess its a compromise they made after running some studies. Still seems sickeningly ugly though. Just like the trick the OP was forced to implement to override this behaviour.
Yucketty yuck yuck.