2 ms·
"Make Genre an int instead of string to save space, but then bake the same strings into the String method of Genre anyway." I don't understand why you would ev
by nonameiguess 6y ago
"Make Genre an int instead of string to save space, but then bake the same strings into the String method of Genre anyway."
I don't understand why you would ever want to possibly save space in a database at the cost of consuming it in your binaries instead. You're almost certain to deploy more copies of your binaries than you are of your database.
- morelisp 6y agoAre you going to deploy more copies of your binary than rows in your database? Or points in an event stream? Plenty of problem spaces still wish to repeat the same value many times and give it a more human readable name when necessary and not coordinate a shared DB connection or even a dynamic string pool.