* Major optimization for large Search/Browse responses. Using strcat gets very slow when the data size gets too big. Switching to memcpy gives us a huge performance improvement with very large responses.

This commit is contained in:
Justin Maggard
2009-04-01 20:19:00 +00:00
parent 047b9511a6
commit 8d12ee4ae7
2 changed files with 285 additions and 157 deletions

View File

@ -21,7 +21,8 @@ struct Response
int returned;
int requested;
int total;
char *filter;
int size;
u_int32_t filter;
enum clientType client;
};