[Include] mFiles - File Writer/Reader System
#12

Alright, well I made a timing comparsion with sii and here are the results:

Writing 100 strings into a blank file:

mFiles: 4 (ms)
sii: 5 (ms)

Reading 100 strings:

mFiles: 32 (ms)
sii: 7 (ms)

Writing (replacing) 100 strings into a file:

mFiles: 53 (ms)
sii: 6 (ms)

As you can see sii is slightly faster in some ways, but both systems work in a different way!
sii is based on cache while mFiles is directly writing into a file (well, not exactly directly)

Only one downside which I see with sii is that you are limited to an amount of keys (255 by default).
Cache system takes more memory (correct me if im wrong) which means; increasing the amount of keys takes more memory and also takes longer to write!
Reply


Messages In This Thread
mFiles - File Writer/Reader System - by Maxips2 - 26.07.2012, 21:31
Re: mFiles - File Writer/Reader System - by yan0804 - 26.07.2012, 21:56
Re: mFiles - File Writer/Reader System - by Maxips2 - 26.07.2012, 22:26
Re: mFiles - File Writer/Reader System - by FireCat - 26.07.2012, 22:29
Re: mFiles - File Writer/Reader System - by Maxips2 - 26.07.2012, 22:37
Re: mFiles - File Writer/Reader System - by Glint - 26.07.2012, 23:27
Re: mFiles - File Writer/Reader System - by Maxips2 - 26.07.2012, 23:36
Re: mFiles - File Writer/Reader System - by Basssiiie - 26.07.2012, 23:45
Re: mFiles - File Writer/Reader System - by Glint - 26.07.2012, 23:48
Re: mFiles - File Writer/Reader System - by Maxips2 - 26.07.2012, 23:49
Re: mFiles - File Writer/Reader System - by Basssiiie - 27.07.2012, 00:11
Re: mFiles - File Writer/Reader System - by Maxips2 - 27.07.2012, 00:31
Re: mFiles - File Writer/Reader System - by Amit_B - 27.07.2012, 07:32
Re: mFiles - File Writer/Reader System - by Maxips2 - 27.07.2012, 07:35
Re: mFiles - File Writer/Reader System - by Maxips2 - 29.07.2012, 16:28
Re: mFiles - File Writer/Reader System - by [MK]Man_Deep - 29.07.2012, 16:41
Re: mFiles - File Writer/Reader System - by Maxips2 - 29.07.2012, 16:44
Re: mFiles - File Writer/Reader System - by Jochemd - 29.07.2012, 23:17
Re: mFiles - File Writer/Reader System - by Maxips2 - 30.07.2012, 05:15
Re: mFiles - File Writer/Reader System - by Snir_sofer - 03.08.2012, 16:26
Re: mFiles - File Writer/Reader System - by Maxips2 - 03.08.2012, 17:14
Re: mFiles - File Writer/Reader System - by Kaperstone - 03.08.2012, 23:17
Re: mFiles - File Writer/Reader System - by Maxips2 - 04.08.2012, 01:01
Re: mFiles - File Writer/Reader System - by Arca - 04.08.2012, 01:06
Re: mFiles - File Writer/Reader System - by Kaperstone - 04.08.2012, 01:32
Re: mFiles - File Writer/Reader System - by Maxips2 - 04.08.2012, 01:39
Re: mFiles - File Writer/Reader System - by Kaperstone - 04.08.2012, 01:56
Re: mFiles - File Writer/Reader System - by Maxips2 - 04.08.2012, 02:05
Re: mFiles - File Writer/Reader System - by Kaperstone - 04.08.2012, 02:15
Re: mFiles - File Writer/Reader System - by Maxips2 - 04.08.2012, 05:50

Forum Jump:


Users browsing this thread: 5 Guest(s)