martins-avots commented on issue #1800:
URL: 
https://github.com/apache/maven-resolver/issues/1800#issuecomment-3998931662

   > You made me very curious now. What made you to create your initial comment 
at [#1800 
(comment)](https://github.com/apache/maven-resolver/issues/1800#issuecomment-3978791229)
 ?
   
   I just want to learn about Maven's resolver by reading its source and 
contributing to it.
   When I looked up the source code of the FileManger I overlooked the FileLock 
intuitively,
   as it was assigned to a variable named unused.
   So I did not know, that there were file locks at all.
   
   I don't know, what a named lock is,
   but I could implement a caching mechanism or at least try.
   On the other hand: does a file caching actually make sense?
   When read is executed in a cached version, it would have to check, if the 
file was changed in the mean time.
   This causes additional IO and therefore time.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to