[Include] eXtended INI Processor - Fast & Feature Rich INI Processor
#12

I checked it but I couldn't find the plugin(download links are invalid)

You may be right.dFile can be faster than y_ini or eINI since it is a plugin.

If you make your own strlen and benchmark it with native strlen then the native would be like 2x to 2.5 x faster than your code though both do the same.

native ~ plugin

Quote:
Originally Posted by Yashas
I am wondering if native functions are faster than the ones I make.

Код:
 for(new i = 400000;i;i--)
  strcmp(x1,x2);
 new b = GetTickCount();
 printf("SD TST:%d",b-a);

 a = GetTickCount();
 for(new i = 400000;i;i--)
 {
    new j =0;
    while(1)
    {
        if(x1[j] != x2[j++])
            break;
    }
 }
For PAWN it seems that native is twice as fast as mine!

My version had to be faster because it cannot be optimized further ,in fact it doesn't even function like strcmp and does less work than strcmp.

I had made my own parser which actually checks every character,does all the copying,all comparing,... - So is this bad?I thought I would avoid the function overhead by doing it but....

Thanks
Quote:
Originally Posted by ******
No, natives are WAY faster than PAWN code! If you found it was twice as fast I would suggest you retest as I would suspect it is far more than that.
Reply


Messages In This Thread
eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 07:17
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Gammix - 08.05.2015, 08:01
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 08:07
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Whizion - 08.05.2015, 08:14
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Sellize - 08.05.2015, 08:36
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Amrev - 08.05.2015, 14:42
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by SpikY_ - 08.05.2015, 14:53
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Pottus - 08.05.2015, 15:02
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 08.05.2015, 15:04
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Pottus - 08.05.2015, 15:12
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 27.05.2015, 19:37
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 30.05.2015, 15:45
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 30.05.2015, 18:19
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 30.05.2015, 18:52
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by iWhite - 30.05.2015, 18:57
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by theYiin - 17.06.2015, 17:47
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 17.06.2015, 18:15
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by liquor - 12.07.2015, 19:18
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by HardWar - 12.07.2015, 22:39
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 13.07.2015, 02:55
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by arvifilter - 18.08.2015, 13:41
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 18.08.2015, 14:31
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by arvifilter - 18.08.2015, 15:20
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 19.08.2015, 10:49
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Nixtren - 29.08.2015, 18:18
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 31.08.2015, 10:16
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Stanford - 31.08.2015, 12:41
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by PrO.GameR - 01.09.2015, 16:39
Re: eXtended INI Processor - Fast & Feature Rich INI Processor - by Yashas - 01.09.2015, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)