4 ms·
> Realistically I rarely have strings that are 700 MB large maybe not that long, but it's not that hard to lose a '\0' when serializing complicated data struct
by leetcrew 8y ago
> Realistically I rarely have strings that are 700 MB large
maybe not that long, but it's not that hard to lose a '\0' when serializing complicated data structures to disk. when you read the file back in, suddenly one of your structs contains an arbitrarily long string. i've seen several 32+MB strings get created this way.