Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better estimation for ColumnLowCardinality::Reserve and ColumnString::Reserve #346

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on Nov 16, 2023

  1. Better estimation for ColumnLowCardinality::Reserve and ColumnString:…

    …:Reserve
    
    ColumnLowCardinality assumes that not all items are unique,
      hence dictionary column can be reserved for smaller capacity;
    ColumnString now allows to set average value size estimation
      in constructor or on existing instance.
      If estimation is close to real average value size, then memory is pre-allocations are close to optimum.
    Enmk committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    90414cc View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. type-safer ColumnString::EstimatedValueSize, better validation, more …

    …tests
    
    - Added validation for ColumnString::EstimatedValueSize value in ColumnString
    - Minor refactoring of block allocation in ColumnString
    - Moved test code for ColumnString and ColumnLowCardinality to separate files,
    - Added more test cases
    Enmk committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    bd3e408 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Debug logging

    Enmk committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    0f4293a View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    11604cf View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. More precise estimation of column size for ColumnString

    Andded PrettyPrintByteSize + some tests
    Enmk committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    c90cd8c View commit details
    Browse the repository at this point in the history
  2. minor

    Enmk committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    57a426c View commit details
    Browse the repository at this point in the history
  3. Lowered estimation max error

    Enmk committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    12f0399 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Better estimations in tests

    also removed commented out code
    Enmk committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a72ad04 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    6aa60bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f9f96a View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    a4bed2d View commit details
    Browse the repository at this point in the history