stricklandrbls commented on issue #1264:
URL: 
https://github.com/apache/daffodil-vscode/issues/1264#issuecomment-3671605971

   @JeremyYao @hdalsania @scholarsmate - Given that the Omega Edit server can 
essentially create and serve viewports for files of infinite size, are we sure 
that we want to obtain a hash for entire file contents?
   
   I have a current implementation which obtains data segments of the target 
file in block sizes of _65535 bytes_. Obtaining a hash for even a relatively 
small file takes about 15 seconds when hashing a 135MB file. 
   
   This, of course, isn't ideal for obtaining whole file hashes every time data 
has been changed from the Data Editor. Whether it be local in-memory changes or 
on disk.
   
   ---
   
   I'd think the better option would be to provide local & on-disk hashes for 
related viewports obtained from Omega Edit instead.
   
   Thoughts?


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