Skip to content

[2.10] [MOD-10622] Optimize rs_wall_clock_diff_ns by removing redundant if branch#6664

Merged
redisearch-backport-pull-request[bot] merged 1 commit into2.10from
backport-6660-to-2.10
Aug 17, 2025
Merged

[2.10] [MOD-10622] Optimize rs_wall_clock_diff_ns by removing redundant if branch#6664
redisearch-backport-pull-request[bot] merged 1 commit into2.10from
backport-6660-to-2.10

Conversation

@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

Description

Backport of #6660 to 2.10.

…branch (#6660)

* Optimize diff_ns by removing redundant if

* change type

* Fix nanosecond constant type and improve time difference calculation in rs_wall_clock_diff_ns

(cherry picked from commit dfc2deb)
@redisearch-backport-pull-request redisearch-backport-pull-request bot added this pull request to the merge queue Aug 17, 2025
Merged via the queue into 2.10 with commit af93db2 Aug 17, 2025
13 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-6660-to-2.10 branch August 17, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant