Software Performance Optimization: Text Vs Binary Files
Text parsing is slow due to complicated conversion process, use binary files or databases for high-performance data processing.
In one of the previous articles, we talked about the hard disk performance characteristics, mainly on the hardware level and on the OS level. Here we look at it on the application software level. Software, in theory, can penetrate the operating system to access disk directly. However, the passage is hardly feasible because it is too inconvenient and loses compatibility. So, let’s just ignore it and move on to the storage forms of the OS, where files hold the major position . Text is the most common file format. It is widely used because it is universally applicable and highly readable. But, te...