uBlock/src
Raymond Hill e94024d350
Reduce memory usage in staticExtFilteringEngine.HostnameBasedDB
Using pairs of integers allows the use of a
single integer-only array to store lists of
string indices associated to a specific
hostname.

Memory usage of instances of HostnameBasedDB
as per Chromium's heap snaphshot (bytes):

Before:
    2,459,256 => specific cosmetic filters
      944,152 => scriptlet filtering
          736
    ---------
    3,404,144

After:
    1,947,448 => "
      757,936 => "
          632
    ---------
    2,706,016

Ultimately, using 2 integers for each entry
instead of a single one is still worth it
because this allows the use of one single
integer-only array instead of having to use
an array of arrays for hostnames which have
multiple entries.
2019-09-28 13:36:07 -04:00
..
_locales Import translation work from https://crowdin.com/project/ublock 2019-09-15 08:10:31 -04:00
css Add ability to quickly create exceptions in logger 2019-09-24 17:05:03 -04:00
img Integrate bare-bone filter hit stats in the logger 2019-05-24 11:18:39 -04:00
js Reduce memory usage in staticExtFilteringEngine.HostnameBasedDB 2019-09-28 13:36:07 -04:00
lib Fix page count computation in publicSuffixList.enableWASM() 2019-04-25 19:40:07 -04:00
web_accessible_resources Add support for AdGuard's empty option 2019-08-13 08:16:21 -04:00
1p-filters.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00
3p-filters.html Simplify client messaging code 2019-09-19 08:31:38 -04:00
about.html Select existing "Advanced settings" page if any 2019-05-25 08:31:06 -04:00
advanced-settings.html make use of CodeMirror in "Advanced settings" page 2018-08-13 10:21:42 -04:00
asset-viewer.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00
background.html Work toward modernizing code base: promisification 2019-09-16 09:45:17 -04:00
cloud-ui.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/171 2018-08-31 10:50:19 -04:00
dashboard.html Warn when navigating away from pane with unsaved changes 2019-05-19 15:35:00 -04:00
document-blocked.html Further fine tune layout for small screen devices; use SVG for icon 2018-12-21 08:16:24 -05:00
dyna-rules.html Provide visual feedback for invalid entries in "My rules" 2019-06-19 18:28:44 -04:00
epicker.html Make the element picker dialog slowly fade away when made discrete 2018-12-22 15:09:38 -05:00
logger-ui.html Add ability to quickly create exceptions in logger 2019-09-24 17:05:03 -04:00
popup.html Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
settings.html Grand refactoring of the logger 2019-01-12 16:36:20 -05:00
shortcuts.html fix https://github.com/uBlockOrigin/uBlock-issues/issues/106 2018-07-18 18:00:55 -04:00
whitelist.html Add a link to the remote asset in asset viewer 2019-05-23 19:29:59 -04:00