Why we use different int in Go :

Why we use different int in Go :


int8, int16 :

when working with large data sets.
CPU packs multiple variables into its registers.

int16, int32 :
If you’re dealing with a file format or protocol
CPU uses more registers or more space in a single register.



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.