Does nodejs rely on repetition?

there is a question about nodejs that has been puzzled all the time. Suppose there are three files, a, bc,b and c, then is c introduced twice? Will it affect performance? This seems to be very common in the project. I hope God will solve the problem. Thank you very much

Apr.05,2021

cache, will not be loaded repeatedly.

see https://nodejs.org/api/module.

Menu