Opened 11 years ago

Closed 10 years ago

#1710 closed Feature Requests (fixed)

Redo the prime number list

Reported by: Daniel James Owned by: Daniel James
Milestone: Boost 1.36.0 Component: unordered
Version: Boost Development Trunk Severity: Optimization
Keywords: Cc:


Hervé Brönnimann:

The prime number list is too short, it roughly doubles every time. On the other hand, I understand that it wouldn't do that have a *much* larger list, as this static array is included in every translation unit. One possibility for a much finer one would be to make unordered an object library, included in the build. I understand if you want to keep it "include-only", but could you at least enlarge the list to have an increase of 30% instead of 100%?

Change History (2)

comment:1 Changed 11 years ago by Daniel James

Milestone: To Be DeterminedBoost 1.36.0
Status: newassigned

comment:2 Changed 10 years ago by Daniel James

Resolution: fixed
Status: assignedclosed

(In [49926]) Use a larger prime number list. Fixes #1710

Note: See TracTickets for help on using tickets.