Madshrimps Forum Madness

Madshrimps Forum Madness (https://www.madshrimps.be/vbulletin/)
-   WebNews (https://www.madshrimps.be/vbulletin/f22/)
-   -   Firefox fixes 14 year old bug (https://www.madshrimps.be/vbulletin/f22/firefox-fixes-14-year-old-bug-138318/)

Stefan Mileschin 25th September 2015 19:27

Firefox fixes 14 year old bug
 
Big cheeses in the Mozzarella Foundation have finally gotten around to fixing an ancient bug with its Firefox browser which will be great for Adblock Plus users.

Mozilla developer Cameron McCormack recently fixed bug 77999, enabling sharing of CSS-related data. Data structures that share the results of cascading user agent style sheets are now a go, which allowed the second issue (bug 988266) to be fixed as well.

Adblock Plus was registering a single style sheet for its element-hiding feature, but Firefox was creating a new copy of it for each page being loaded. This meant that the memory consumption could skyrocket (up to 2GB in one edge case) as more copies were created.

Mozilla developer Nicholas Nethercote said that the update meant that in one extreme example memory usage dropped by 3.62 MiB per document. Since there were examples of 429 documents on a single page it meant that the user was saving 1,550 MiB.

With Cameron’s patches applied Firefox with AdBlock Plus used about 90 MiB less physical memory, which is a reduction of over 10 per cent. Even when AdBlock Plus is not enabled this change has a moderate benefit.

http://www.techeye.net/news/firefox-...4-year-old-bug


All times are GMT +1. The time now is 21:20.

Powered by vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO