Open Totktonada opened 3 years ago
@Totktonada
There is a test branch for this purpose - https://github.com/tarantool/avro-schema/tree/139-fstack-replace
I've run "benchmark.lua" before and after this commit. My results:
Seems it looks reasonable to use debug.getlocal() instead of fstack.
It may give some performance on success paths.
We replaced
debug.getlocal()
approach with fstack in order to fix #11. Later, @mejedi investigated the problem further and proposed a work around.Workaround.
```diff From 322196d5729b83b114af48e243487f1fe835ec56 Mon Sep 17 00:00:00 2001 From: Nick ZavaritskyLet's compare performance and decide.