Skip to content

[2.8] [MOD-10622] Optimize rs_wall_clock_diff_ns by removing redundant if branch#6663

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

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

Conversation

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

Description

Backport of #6660 to 2.8.

…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.8 with commit 054808f Aug 17, 2025
12 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-6660-to-2.8 branch August 17, 2025 12:37
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