Skip to content

Improve data structure #57

@cankisagun

Description

@cankisagun

Data is overwritten each time a user submits data - this can be improved but is hard. Currently user data is stored inside the enclave as a Rust HashMap indexed by the userId as its key, and the array of locations as its associated data. so everytime a new dataset is added to HashMap overwrites whatever prior entry was there for that key. Improving on this is hard because one would need to find data overlaps in terms of space and time with prior entries and do a proper merge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions