Code: Select all
Warning: attempting to write 8987 bytes to preference sites. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.I realize the warning starts at 4kb and 8kb is pretty far away from the 1MB hard limit, but maybe you could store the blacklist externally? (and possibly the whitelist too). There's already import/export code defining a reasonable format, although maybe the profile data should be compressed for faster startup.
Side note: the forum software blocked the title "Store the blacklist in an external file", apparently due to the word 'store'. Maybe it could be a little less trigger-happy?