libpkgconf/cache.c


Log

Author Commit Date CI Message
Ariadne Conill 99bc93fb 2023-01-21T20:45:29 use SIZE_FMT_SPECIFIER everywhere
Dylan Baker ebe74fd2 2022-08-03T15:24:05 cache: free the cache table when it is empty and set to NULL We do the latter for the benefit of libpkgconf. This cleans up a significant number of memory leaks in the cache handling.
Dylan Baker 17173802 2022-08-03T16:27:42 cache: clear the cache with pkgconf_cache_remove Which results in more code re-use.
Dylan Baker a4de6235 2022-08-03T15:29:57 cache: when removing a package from the cache unset the cached flag
Ariadne Conill ffa0805d 2022-06-26T04:38:02 cache: use pkgconf_reallocarray stub
Ariadne Conill 46467240 2022-06-26T04:30:35 cache: refactor to use a continguous table and bsearch cache functions are the hottest part of the pkgconf code when profiled, by removing the linked list for lookups, we can turn lookups into an O(k) operation
Ariadne Conill 4b87e256 2021-08-17T15:29:55 cache: clear package cache without using the refcounts
William Pitcock d2b69833 2017-12-08T13:39:40 libpkgconf: cache: fix refcount issue exposed by recent depgraph solver changes
William Pitcock 44b4b126 2017-12-05T17:32:00 libpkgconf: pkg: record which pkgconf_client_t owns each pkgconf_pkg_t object
William Pitcock e9fd43ca 2017-09-17T23:38:25 libpkgconf: clean up header includes (closes #137)
William Pitcock 9b55fc3c 2017-09-13T14:41:00 libpkgconf: cache: refactor the way package objects are marked as cached to avoid memory leaks (#133)
William Pitcock f7f0bfc4 2017-02-04T20:01:41 libpkgconf: cache: add trace points
William Pitcock 9efa991d 2016-12-10T19:40:51 libpkgconf: update cache docs to new format
William Pitcock c05ecdfc 2016-12-02T00:29:33 libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :(
William Pitcock ca1b0265 2015-09-06T11:20:48 libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t
William Pitcock 342950a5 2015-09-06T10:50:23 libpkgconf: pkg_cache becomes pkgconf_cache
William Pitcock cc2dcc1f 2015-09-06T10:31:21 libpkgconf: move pkg_node and pkg_list to pkgconf_node and pkgconf_list namespaces
William Pitcock a706b3dc 2015-09-06T09:35:08 initial libtoolization for libpkgconf