mirror of
https://github.com/sheumann/DiskBrowser.git
synced 2024-11-21 22:31:13 +00:00
Bump up page size to 50.
This seems like a reasonable trade-off between speed of retrieving one page and number of pages needed to see lots of results. Many specific searches will return fewer results than this anyway.
This commit is contained in:
parent
c963529943
commit
c7968ecb69
@ -36,7 +36,7 @@ struct diskListEntry {
|
|||||||
#define DISK_LIST_MAX_LENGTH (int)(0xFFFF/sizeof(struct diskListEntry))
|
#define DISK_LIST_MAX_LENGTH (int)(0xFFFF/sizeof(struct diskListEntry))
|
||||||
|
|
||||||
/* How many results to fetch at a time */
|
/* How many results to fetch at a time */
|
||||||
#define PAGE_SIZE 30
|
#define PAGE_SIZE 50
|
||||||
|
|
||||||
#define MAX_PAGES ((DISK_LIST_MAX_LENGTH + PAGE_SIZE - 1) / PAGE_SIZE)
|
#define MAX_PAGES ((DISK_LIST_MAX_LENGTH + PAGE_SIZE - 1) / PAGE_SIZE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user