converge icon indicating copy to clipboard operation
converge copied to clipboard

Change `actor` of Id from UUID to integer

Open bobby opened this issue 3 years ago • 2 comments

in range from 0 to JavaScript MAX_SAFE_INTEGER

bobby avatar Dec 22 '21 05:12 bobby

@Shearerbeard @Jcalderwood1 Thoughts on this? Should we change actors from UUID to integers? This PR shrinks the serialized size for a large model by about 15-20%, but we lose the ability to use a per-browser-generated participant-id for the actor.

bobby avatar Dec 22 '21 19:12 bobby

@Shearerbeard @Jcalderwood1 Thoughts on this? Should we change actors from UUID to integers? This PR shrinks the serialized size for a large model by about 15-20%, but we lose the ability to use a per-browser-generated participant-id for the actor.

I'm a big fan of trying to reduce the serialized size, I wonder if there is a sane way to assign and persist a concrete int id per customer actor to keep the small file size and still enforce a unique identifier.

Shearerbeard avatar Sep 15 '22 15:09 Shearerbeard