* pygnulib/GLModuleSystem.py
(GLModule.getAutomakeSnippet_Unconditional): Call set() on the result of
_extract_lib_SOURCES() to ensure computing the difference between
another set is O(n).
+2024-06-03 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Use a set to optimize.
+ * pygnulib/GLModuleSystem.py
+ (GLModule.getAutomakeSnippet_Unconditional): Call set() on the result of
+ _extract_lib_SOURCES() to ensure computing the difference between
+ another set is O(n).
+
2024-06-03 Bruno Haible <bruno@clisp.org>
pthread-* tests, regex tests: Prepare for use of 'alarm'.
snippet = self.getAutomakeSnippet_Conditional()
snippet = combine_lines(snippet)
# Get all the file names from 'lib_SOURCES += ...'.
- mentioned_files = _extract_lib_SOURCES(snippet)
+ mentioned_files = set(_extract_lib_SOURCES(snippet))
all_files = self.getFiles()
lib_files = filter_filelist('\n', all_files,
'lib/', '', 'lib/', '')