From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit] Fix IR_ABC hoisting.
Date: Thu, 20 Mar 2025 15:38:34 +0300 [thread overview]
Message-ID: <Z9wMSqpOQEzXO5Ve@root> (raw)
In-Reply-To: <fe5e1316-7d2d-4827-963e-5413abe65d92@tarantool.org>
Hi, Sergey!
Thanks for the review!
Fixed your comments, rebased the branch on the tarantool/master
and force-pushed it.
On 20.03.25, Sergey Bronnikov wrote:
> Hi, Sergey!
>
> thanks for the patch! LGTM with minor comments that can be ignored.
>
> Sergey
>
> On 27.02.2025 19:00, Sergey Kaplun wrote:
> > From: Mike Pall <mike>
<snipped>
> > +local function test_func()
> > + -- 1 iteration for hotcount warm-up. 2 and 3 to record invariant
>
> As usually we care about readers, I propose to make text more
> human-firendly:
>
> s/1/The first/
>
> s/2 and 3/second and third/
>
Fixed, see the iterative patch below.
===================================================================
diff --git a/test/tarantool-tests/lj-1194-abc-hoisting.test.lua b/test/tarantool-tests/lj-1194-abc-hoisting.test.lua
index 3a78c34e..57fbc584 100644
--- a/test/tarantool-tests/lj-1194-abc-hoisting.test.lua
+++ b/test/tarantool-tests/lj-1194-abc-hoisting.test.lua
@@ -39,9 +39,10 @@ local table_new = require('table.new')
jit.opt.start('hotloop=1', '-fuse')
local function test_func()
- -- 1 iteration for hotcount warm-up. 2 and 3 to record invariant
- -- and variant parts of the loop. The trace is run via an
- -- additional call to this function.
+ -- The first iteration for hotcount warm-up. The second and
+ -- third are needed to record invariant and variant parts of the
+ -- loop. The trace is run via an additional call to this
+ -- function.
local limit = 3
-- Create a table with a fixed array size (`limit` + 1), so all
-- access to it fits into the array part.
===================================================================
> > + -- and variant parts of the loop. The trace is run via an
<snipped>
--
Best regards,
Sergey Kaplun
next prev parent reply other threads:[~2025-03-20 12:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 16:00 Sergey Kaplun via Tarantool-patches
2025-03-20 12:22 ` Sergey Bronnikov via Tarantool-patches
2025-03-20 12:38 ` Sergey Kaplun via Tarantool-patches [this message]
2025-03-20 12:53 ` Sergey Bronnikov via Tarantool-patches
2025-03-26 8:54 ` Sergey Kaplun via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z9wMSqpOQEzXO5Ve@root \
--to=tarantool-patches@dev.tarantool.org \
--cc=sergeyb@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit] Fix IR_ABC hoisting.' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox