Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
chashmap
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • chashmap
  • Merge Requests
  • !5

Open
Opened Mar 24, 2020 by Alex Hornby@ahornbyContributor
  • Report abuse
Report abuse

Reduce growth factor from 4X to 2X. This saves a lot of memory, whilst retaining amortized growth

  • Overview 1
  • Commits 1
  • Changes 1

Reduce growth factor set by LENGTH_MULTIPLIER from 4X to 2X. This saves a lot of memory for large maps, whilst retaining amortized growth when there are repeated inserts.

Tested with cargo test

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: redox-os/chashmap!5
Source branch: amortized_growth