You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Activity
cristianberneanu commentedon Mar 21, 2022
Why is it out of place in
anonymization.c?Even if we don't want it there,
common.cdoesn't seem like the right place for it. Maybenoise_layers.corbucket.c?edongashi commentedon Mar 21, 2022
anonymization.cshould not referenceBucketorBucketDesc. In my view those are runtime concepts and the rewriter is a "compile" time process.I saw that
eval_low_countis 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.edongashi commentedon Apr 7, 2022
If computing the seed multiple times is costly, worth implementing for the sake of speedup.
edongashi commentedon Apr 14, 2022
Low priority because it has little performance gains.