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

Static map list headers #1064

Merged
merged 6 commits into from
Nov 12, 2024
Merged

Static map list headers #1064

merged 6 commits into from
Nov 12, 2024

Conversation

tsa96
Copy link
Member

@tsa96 tsa96 commented Oct 23, 2024

Adds a simple header block to static map lists storing

  • ident
  • length of uncompressed data
  • number of maps

Makes C++ allocs faster and simpler.

Checks

  • !! DONT IGNORE ME !! I have ran nx run db:create-migration <name> and committed the migration if I've made DB schema changes
  • I have included/updated tests where applicable (see Testing)
  • I have followed semantic commit messages e.g. feat: Add foo, chore: Update bar, etc...
  • My branch has a clear history of changes that can be easy to follow when being reviewed commit-by-commit
  • My branch is functionally complete; the only changes to be done will be those potentially requested in code review
  • All changes requested in review have been fixuped into my original commits

@tsa96 tsa96 force-pushed the feat/map-list-headers branch from 715b4a8 to ca7bd1b Compare October 23, 2024 21:39
@tsa96 tsa96 requested a review from Panzerhandschuh October 23, 2024 21:39
@tsa96 tsa96 force-pushed the feat/map-list-headers branch 2 times, most recently from 1eeb6c8 to e588fe1 Compare October 23, 2024 21:54
@Panzerhandschuh Panzerhandschuh self-requested a review November 12, 2024 19:34
This causes a DB error, was happening when trying to add thousands of maps at once
Evil indentation commit, just wrapping a jest block
Used to do these weird exported objects which is pointless with ESM,
figured I'd clean this up. Also, wasn't actually using `isEqual`...
Backend side of this was done, forgot to update frontend.
@tsa96 tsa96 force-pushed the feat/map-list-headers branch from 3ffc8ea to 4760562 Compare November 12, 2024 20:25
@tsa96 tsa96 merged commit 6e9d967 into main Nov 12, 2024
7 checks passed
@tsa96 tsa96 deleted the feat/map-list-headers branch November 12, 2024 21:04
@tsa96 tsa96 mentioned this pull request Nov 17, 2024
6 tasks
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.

2 participants