2026-08-25 08:22:06 -05:00 | | | //+------------------------------------------------------------------+
|
| | | //| Ben.mq5 |
|
| | | //| Copyright 2026, Niquel Mendoza |
|
| | | //| https://www.mql5.com |
|
| | | //+------------------------------------------------------------------+
|
| | | #property copyright "Copyright 2026, Niquel Mendoza"
|
| | | #property link "https://www.mql5.com"
|
| | | #property version "1.00"
|
| | | #property strict
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| |
|
| | | //+------------------------------------------------------------------+
|
| | | #include "Iteradores.mqh"
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| |
|
| | | //+------------------------------------------------------------------+
|
| | | #resource "SHA3_512ShortMsg.rsp" as const string g_raw
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| Script program start function |
|
| | | //+------------------------------------------------------------------+
|
| | | void OnStart()
|
| | | {
|
| | | //---
|
| | | TSN::CRSPParser rsp;
|
| | |
|
| | | //---
|
| | | rsp.Assing(g_raw);
|
| | | rsp.CorrectPadding();
|
| | |
|
| | | //---
|
| | | ulong a = GetMicrosecondCount();
|
| | | for(int i = 0; i < 10000; i++)
|
| | | {
|
| | | rsp.Parse();
|
| | | }
|
| | | ulong b = GetMicrosecondCount();
|
| | | Print("time: ", (b - a));
|
| | | }
|
| | | //+------------------------------------------------------------------+
|
2026-09-02 07:44:15 -05:00 | | | //
|
| | | /*
|
2026-09-02 08:18:46 -05:00 | | | 2026.09.02 07:54:55.632 Ben (EURUSD,H1) time: 913685
|
| | | 2026.09.02 07:55:45.264 Ben (EURUSD,H1) time: 913041
|
2026-09-02 07:44:15 -05:00 | | | */
|