[DiscordArchive] I'm finalizing the changes on the Auth db for the Semantic layer. A couple of the processes in cpp u
[DiscordArchive] I'm finalizing the changes on the Auth db for the Semantic layer. A couple of the processes in cpp u
Archived author: DrtyByt • Posted: 2020-11-23T18:22:36.651000+00:00
Original source
I'm finalizing the changes on the Auth db for the Semantic layer. A couple of the processes in cpp use int32 instead of string for IP, this seems odd, anyone able to explain? It affects LOGIN_SEL_IP2NATION_COUNTRY and LOGIN_SEL_LOGON_COUNTRY.
Any <@&262883768300208129> out there able to explain?
Archived author: PiAvenger • Posted: 2020-11-23T18:38:56.496000+00:00
Original source
I mean the immediate answer is that an IP address is just 4 bytes, so its smaller and faster to represent as an int. Someone with deeper project knowledge will probably need to answer specifics
Archived author: DrtyByt • Posted: 2020-11-23T18:48:00.404000+00:00
Original source
If that's it, that's fine. I'm just trying to understand the reason. Typifying data makes it easier to handle and make adjustments. So just need a confirmation on that or if it's done for a different reason.