in reply to Re^3: Accessing individual bytes of a binary file as numerical values
in thread Accessing individual bytes of a binary file as numerical values
I am not at all sure that performance is an issue here at all! I think the goal should be clear, understandable code and then work on performance optimization later.
I just made a post to try to explain a simple way to do what needs to be done.
If that doesn't work, I at least feel like I tried.
BTW: increasing the multiple of 4K bytes may not help all that much in terms of execution performance. This depends upon the O/S and file system AND how many other disk intensive processes are running at the same time. Depending upon the OS and file system, these 4K units can wind up being scattered around over the disk surface. Your processes is not calculating if it is waiting for the disk to finish some very large request. Sometimes there is an optimal "quanta" of info to request. I think that discussion is well beyond the scope of the original question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Accessing individual bytes of a binary file as numerical values
by AnomalousMonk (Archbishop) on Apr 25, 2019 at 18:48 UTC | |
by Marshall (Canon) on Apr 28, 2019 at 20:10 UTC |