[Tarantool-patches] [PATCH v2 luajit 18/41] perf: adjust nsieve-bit-fp in LuaJIT-benches

Sergey Bronnikov sergeyb at tarantool.org
Thu Jan 15 10:58:52 MSK 2026


Hi, Sergey,

thanks for the patch!

Sergey

On 12/26/25 12:17, Sergey Kaplun wrote:

<snipped>

> +  checker = function(res)
> +    if N == DEFAULT_N then
> +      assert(res[0] == 2488465)
> +      assert(res[1] == 1299069)
> +      assert(res[2] == 679461)

Minor: I would leave a comment about magic numbers or use variables with 
self-explained names.

Feel free to ignore.

> +    end
> +    return true
> +  end,
> +}
> +
> +bench:add(benchmark)
> +bench:run_and_report()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20260115/a5d2177f/attachment.htm>


More information about the Tarantool-patches mailing list