61 lines
No EOL
1.6 KiB
YAML
61 lines
No EOL
1.6 KiB
YAML
# 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
|
|
# Nombre del deifne que da el tamaño de la tabla final
|
|
def_name_table_size: TABLE_SIZE
|
|
# Nombre de deifne de buckets..
|
|
def_bucket_size_name: BUCKETS_SIZE
|
|
# Valor invalido
|
|
invalid_value: -1
|
|
# Al crear la funcion ? comentarla o no
|
|
comment_funct: true
|
|
# Guards del archivo opcional...
|
|
guard_name: "my guard"
|
|
|
|
# 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
|
|
|
|
# Random
|
|
random:
|
|
type: PHASH_RANDOM_MATH_XOSHIRO256 # Tipo de hash a utilizar
|
|
config:
|
|
seed: 0x145615123 # Semilla
|
|
|
|
# Hash
|
|
hash:
|
|
type: TSN_PHASH_TYPE_FNV1A_64
|
|
config:
|
|
basis: def # def = hashbasis default
|
|
prime: def # def = primer defaut
|
|
|
|
# Final hash qeu se utilizara murmur o splitmax64
|
|
final_hash: HASH_UL1_MUR_MUR
|
|
|
|
# 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
|
|
} |