|
|
|
|
|
by marginalia_nu
1663 days ago
|
|
There is absolutely a performance benefit to reducing your row sizes. It both reduces the amount of disk I/O and the amount of CPU cache misses and in many cases also increases the amount of data that can be kept in RAM. You can map meaning onto the column in your code, as most languages have enums that are free in terms of performance. It does not make sense to burden the storage layer with this, as it lacks this feature. |
|
Was just looking at how to do this with an enum today! Read my mind. :)