Skip to content

Conversation

@ilevkivskyi
Copy link
Member

This should make our cache format more future proof w.r.t lazy deserialization and other features:

  • This makes cache ~5% larger (data + meta)
  • This makes interpreted performance ~5% worse (just the serialization steps, not overall time)
  • No visible performance impact when compiled (probably because all extra indirections like read_str() -> read_str_bare() etc are C calls).

@ilevkivskyi ilevkivskyi requested a review from JukkaL October 28, 2025 16:00
@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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