Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2012, 05:52 AM
VM_Hacker VM_Hacker is offline
Member
 
Join Date: Jun 2010
Posts: 67
Question is TINIFile is fast?

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!
Reply With Quote
  #2  
Old 08-02-2012, 10:34 AM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 6,699
Default

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
Reply With Quote
  #3  
Old 08-02-2012, 05:45 PM
major major is offline
Member
 
Join Date: Jun 2011
Posts: 42
Default

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).
Reply With Quote
  #4  
Old 08-13-2012, 07:27 AM
Jeffijoe Jeffijoe is offline
Senior Member
 
Join Date: Nov 2009
Posts: 149
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 08:09 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.