Open fanantoxa opened 7 years ago
@soulcutter Actually lambdas is very slow and can't be optimized by ruby VM. What would you think if I'll replace lambdas for normalization stuff with some abstract class?
================================== Mode: cpu(1000) Samples: 901 (0.00% miss rate) GC: 126 (13.98%) ================================== TOTAL (pct) SAMPLES (pct) FRAME 107 (11.9%) 107 (11.9%) Saxerator::Configuration#hash_key_normalizer
That's a good idea :+1:
@soulcutter Actually lambdas is very slow and can't be optimized by ruby VM. What would you think if I'll replace lambdas for normalization stuff with some abstract class?