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

Should process ids be 64 bits long? #15

Open
mstewartgallus opened this issue Jun 18, 2017 · 1 comment
Open

Should process ids be 64 bits long? #15

mstewartgallus opened this issue Jun 18, 2017 · 1 comment

Comments

@mstewartgallus
Copy link

I use the pthread_self function for the :process id for events. However, these pointers are 64 bits long and so don't fit for some of the uses Clojure does.

I think this might actually be a common use case but maybe there is too much of a performance problem or something.

@aphyr
Copy link
Collaborator

aphyr commented Jun 18, 2017

I think arbitrary objects should be fine, you'll just pay some extra penalties for comparisons over bigints. Might be worth remapping those process ids to small numbers just for your own sanity; might make it easier to read the traces. :)

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

No branches or pull requests

2 participants