![]() |
|
#1
|
|||
|
|||
|
Hello,
Just wanna know if TINIFile processing is fast? I have small project that uses RFID Reader and this Reader can read 10-20 pcs RFID Tag in 50ms. I wanted each Tag to be saved to INIFile. By the way, I am Reading/Writing to INIFile. Thanks! |
|
#2
|
|||
|
|||
|
If you want to know if it's fast you need something to compare it with, so compared to what do you need???
Furthermore its speed will be determined by it's usage. 1 file with 10.000 entries (assuming that it uses LoadFromFile/SaveToFile) is faster then 10.000 single files |
|
#3
|
|||
|
|||
|
I would highly recommend using a database management system. No need to buy an expensive RDBMS, there are plenty of free ones, and Delphi even has TClientDataSet available (depending on which version of Delphi you have) which is usable as an in-memory dataset (which would allow you to save to file in binary or xml formats).
|
|
#4
|
|||
|
|||
|
I developed a small but effective file reader/writer with (optional) encryption - its open source, you can grab it here: http://customfile.sourceforge.net/
There are example(s) included. In my experience it's pretty fast, and there is no size limitation. Hope you can use it. ![]() PS: The download is an installer that will attempt to add the path to your Delphi Library path, so you wont have to. The source is included. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|