Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd321b6

Browse files
author
Artur Zakirov
committed
Improve speed
1 parent028bc43 commitfd321b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎rum_ts_utils.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,12 @@ get_docrep_addinfo(bool *check, QueryRepresentation *qr, int *map_item_operand,
717717
if (!check[keyN])
718718
continue;
719719

720+
/*
721+
* entries could be repeated in tsquery, do not visit them twice
722+
* or more. Modifying of check array (entryRes) is safe
723+
*/
724+
check[keyN]= false;
725+
720726
if (!addInfoIsNull[keyN])
721727
{
722728
dimt=count_pos(VARDATA_ANY(addInfo[keyN]),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp