Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
b267ba5f
Commit
b267ba5f
authored
Apr 01, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag/Pool: enlarge hash table
This consumes more memory (plus 48 kB on 32 bit systems), but reduces the number of hash collisions, speeding up MPD startup with large databases.
parent
82700430
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NEWS
NEWS
+1
-1
Pool.cxx
src/tag/Pool.cxx
+1
-1
No files found.
NEWS
View file @
b267ba5f
ver 0.21.22 (not yet released)
* database
- simple:
reduce I/O overhead while reading database file
- simple:
optimize startup
* input
- curl: fix streaming errors on Android
* playlist
...
...
src/tag/Pool.cxx
View file @
b267ba5f
...
...
@@ -32,7 +32,7 @@
Mutex
tag_pool_lock
;
static
constexpr
size_t
NUM_SLOTS
=
4093
;
static
constexpr
size_t
NUM_SLOTS
=
16127
;
struct
TagPoolSlot
{
TagPoolSlot
*
next
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment