Re: __pycache__ in /usr/share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, March 3, 2020 12:45:08 PM EST Robbie Harwood wrote:
> Steve Grubb <sgrubb@xxxxxxxxxx> writes:
> > Hello,
> > 
> > We are working on Application Whitelisting. For this to work, we need
> > to have a list of things that we trust. At the moment, that list is
> > well over 400k on a desktop install. But we really need to get that
> > smaller.
> 
> Not that I disagree, but... to what end?  What's the goal?

The goal is to reduce memory consumption and search time. Right now it takes 
about 165 MB of virtual memory to hold the database. Binary trees are very 
efficient in searching, but why search 400k when the items that need to be 
trusted is really more like 50k. I'm trying to think of time efficient ways of 
pruning the list.

I suppose I can call fnmatch 400k times to keep these python byte code 
caches, but I suspect they don't really belong there.

-Steve

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux