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

only accept the 100 most recent posts from the past year (configurable) #28

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ArneBab
Copy link

@ArneBab ArneBab commented Jul 8, 2023

This reduces memory requirement to O(N), with N the number of active, trusted IDs.

Without this change, the memory requirement is O(M*t) with M the total number of IDs and t the average lifetime of an ID.

ArneBab

This comment was marked as outdated.

@ArneBab ArneBab changed the title WIP only accept the 100 most recent posts from the past year only accept the 100 most recent posts from the past year Jul 10, 2024
@ArneBab ArneBab changed the title only accept the 100 most recent posts from the past year only accept the 100 most recent posts from the past year (configurable) Jul 10, 2024
@ArneBab ArneBab force-pushed the limit-posts-to-past-year branch 6 times, most recently from bf4392d to 83ca5bb Compare July 25, 2024 13:48
@ArneBab ArneBab force-pushed the limit-posts-to-past-year branch from 83ca5bb to cfb8624 Compare July 25, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant