guan404ming opened a new pull request, #19791:
URL: https://github.com/apache/tvm/pull/19791

   ## Why
   
   `fetchWithCache` ran `addToCache` (which calls `store.has()`) then 
`readFromCache`, doing two OPFS lookups on a cache hit.
   
   ## How
   
   - Read the cache first and return on a hit, skipping `store.has()`
   - Fall back to `addToCache` then read only on a miss


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to