Employee struct:
Implement more information (gender and other potentially relevant information)
Less gas:
Don't write; RegistryRight storage r = registryRights[companyKey];
Instead, use registryRights[companyKey] on each r-invokation.
Implement this for all cases where this is relevant.
Employee struct: Implement more information (gender and other potentially relevant information)
Less gas: Don't write; RegistryRight storage r = registryRights[companyKey]; Instead, use registryRights[companyKey] on each r-invokation. Implement this for all cases where this is relevant.