Skip to content
Extraits de code Groupes Projets

Resolve "Performance of search commands"

4 files
+ 25
28
Comparer les modifications
  • Côte à côte
  • En ligne

Fichiers

+ 4
4
@@ -61,10 +61,10 @@ bool command_noidle(struct lkt_state *srv, size_t c);
/* Find commands */
enum lkt_find_action {
LKT_FND_ACT_NONE = 0,
LKT_FND_ACT_RESPOND = 1,
LKT_FND_ACT_PRINT = 2,
LKT_FND_ACT_ENQUEUE = 3,
LKT_FND_ACT_ADD = 4,
LKT_FND_ACT_RESPOND = (1 << 1),
LKT_FND_ACT_PRINT = (1 << 2),
LKT_FND_ACT_ENQUEUE = (1 << 3),
LKT_FND_ACT_ADD = (1 << 4),
};
/* Find and send karas in the db that match the search expression */
Chargement en cours