2026-06-28 10:43:20 -05:00 | | | # Config incial
|
| | | max_attepms: 10 # Maximos intentos por bucket
|
| | | namespace: TSN # Namespace ("" no usar o null)
|
| | | # Archiv final del mqh
|
| | | file_name_out: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\Common\Files\Out.mqh
|
| | | # Nombre de la tabla
|
| | | table_prefix: g_table_test
|
| | | # Copyright del mqh
|
| | | copyright: Copyright 2026, Niquel Mendoza
|
| | | # Link del mqh
|
| | | link: https://www.mql5.com/
|
| | | # Nombre de la funcion hash
|
| | | func_name: HashCustom
|
2026-06-28 17:05:25 -05:00 | | | # Nombre del deifne que da el tamaño de la tabla final
|
2026-06-28 16:04:15 -05:00 | | | def_name_table_size: TABLE_SIZE
|
| | | # Nombre de deifne de buckets..
|
| | | def_bucket_size_name: BUCKETS_SIZE
|
2026-06-28 10:43:20 -05:00 | | | # Valor invalido
|
| | | invalid_value: -1
|
2026-06-28 17:05:25 -05:00 | | | # Al crear la funcion ? comentarla o no
|
| | | comment_funct: true
|
2026-06-29 09:02:53 -05:00 | | | # Guards del archivo opcional...
|
| | | guard_name: "my guard"
|
2026-06-28 10:43:20 -05:00 | | |
|
| | | # Aqui se defininen todos los archios de salida bin (para EnumReg)
|
| | | bin:
|
| | | seeds: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\Common\Files\seeds.bin
|
| | | values: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\Common\Files\values.bin
|
| | | meta: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\Common\Files\meta.bin
|
| | | hash: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\Common\Files\hash.bin
|
| | |
|
| | | # Hash
|
| | | hash:
|
| | | type: TSN_PHASH_TYPE_FNV1A_64
|
| | | config:
|
| | | basis: def # def = hashbasis default
|
| | | prime: def # def = primer defaut
|
2026-06-28 16:04:15 -05:00 | | |
|
2026-06-28 10:43:20 -05:00 | | | # Final hash qeu se utilizara murmur o splitmax64
|
2026-06-28 19:22:20 -05:00 | | | final_hash: HASH_UL1_MUR_MUR
|
2026-06-28 10:43:20 -05:00 | | |
|
| | | # Algoritm percefthash
|
| | | perfect_hash:
|
| | | elements_por_bucket: 8
|
| | | load_factor: 0.81
|
| | |
|
| | | # Tabla de valores..
|
| | | map_use_value: true
|
| | | map: {
|
| | | UNO: 1,
|
| | | DOS: 2,
|
| | | TRES: 3,
|
| | | CUATRO: 4,
|
| | | CINCO: 5
|
| | | }
|