Skip to content

replace human_readable_timestamp with a rust-g formatter #6540

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

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented May 2, 2025

About The Pull Request

this replaces the awful slow /datum/log_holder/proc/human_readable_timestamp() proc with a rust-g implementation of time formatting, seen here: tgstation/rust-g#214

i also made both it and unix_timestamp_string just use defines instead of procs, to reduce overhead in these hot procs. also made them use load_ext

rust_g.dll binary from https://github.com/Absolucy/rust-g/actions/runs/14797092310

Why It's Good For The Game

these are hot procs and they can be slow.

Changelog

no player-facing changes.

@Absolucy Absolucy added Process: do not merge don't merge this ffs Process: should testmerge PR should be testmerged first labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Process: do not merge don't merge this ffs Process: should testmerge PR should be testmerged first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant