-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support for 64 bit integers as skids #114
Comments
@schlegelp can you confirm that there is now support for 64 bit skids in catmaid dev? |
I can answer this: it is not part of This will also have the consequence that basically all IDs are 64 bit (e.g. annotations, tags, etc.). |
Thanks @tomka. I guess it was going to happen eventually but it’s going to be a minor headache. |
Just for the sake of completeness, this is the PR for CATMAID that adds 64 bit IDs for semantic data: catmaid/CATMAID#1887. Once this is merged, chances are it will be on a production server soon. |
So noting down just a couple thoughts here
|
See discussion https://stackoverflow.com/questions/35171760/in-r-is-it-better-to-use-integer64-numeric-or-character-for-large-integer-id-n for some of the issues (they vote for character vectors). |
Just a note that in neuprintr we accept 64 bit ints as ids and use them under the hood but have ended up returning ids as character vectors – this just ends up simpler in nearly all cases and the efficiency savings seem minor. |
This is a bit of a pain to handle since base R can only handle signed integers up to 2147483647. Options are to use bit64 package, int64 package (prob not) or allow numerics (i.e. 64 bit doubles) and try to handle rounding issues. The main function affected is
catmaid_skids
. @mmc46The text was updated successfully, but these errors were encountered: