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

Use 32 bit signed integer for all IDs and priorities #1252

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

visr
Copy link
Member

@visr visr commented Mar 13, 2024

We used to have a test that typemax(Int64) was working as a node ID, but this broke in the add API. Rather than fixing that I think Int32 IDs will always suffice (goes to over 2 billion), and save some memory and (uncompressed) output file size.

Also when creating a new table in QGIS it creates Int32:
image

Diff is fairly large since we are restrictive in our function type signatures. Int is still used for indices.

@Hofer-Julian Hofer-Julian merged commit 08bcb1c into main Mar 14, 2024
24 checks passed
@Hofer-Julian Hofer-Julian deleted the int32 branch March 14, 2024 07:20
Hofer-Julian pushed a commit that referenced this pull request Mar 26, 2024
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