Skip to content

bucket_seed should be a member of Bucket #246

Open

Description

@edongashi

Also compute_bucket_seed is out of place in anonymization.c. It should be moved to common.c.

Activity

  1. cristianberneanu commented on Mar 21, 2022

    @cristianberneanu
    Collaborator

    Also compute_bucket_seed is out of place in anonymization.c. It should be moved to common.c.

    Why is it out of place in anonymization.c?
    Even if we don't want it there, common.c doesn't seem like the right place for it. Maybe noise_layers.c or bucket.c?

  2. edongashi commented on Mar 21, 2022

    @edongashi
    MemberAuthor

    Why is it out of place in anonymization.c?

    anonymization.c should not reference Bucket or BucketDesc. In my view those are runtime concepts and the rewriter is a "compile" time process.

    common.c doesn't seem like the right place for it

    I saw that eval_low_count is there, which is used by bucket scan and star bucket. The function will be needed in the same places because that is where we instantiate buckets. I'm not strictly against moving it, but it felt a bit awkward.

  3. edongashi commented on Apr 7, 2022

    @edongashi
    MemberAuthor

    If computing the seed multiple times is costly, worth implementing for the sake of speedup.

  4. edongashi commented on Apr 14, 2022

    @edongashi
    MemberAuthor

    Low priority because it has little performance gains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions