Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Cons re-scan a file every time it calculates dependencies?

0
10 Posted

Does Cons re-scan a file every time it calculates dependencies?

0
10

Not within a single invocation. If multiple source files all #include a given .h file, then Cons only scans that .h file (and any subsidiary .h files that it includes) once, and remembers the result for later files that also #include that .h file. Every time Cons is invoked, however, it does re-scan each .h file once.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123