I know what sparse file is but I can't figure out how or why a program such as lastlog would prefer such a file over a normal file.
I know sparse files can be used for loop back filesystems to save space but that is obviously not efficient for a program since its another layer.
The only thing I can think of is using the sparse file for memory efficient random access of a giant multidimensional array (e.g. a matrix) but I'm not even sure if that is what people are using sparse files for (and I'm not even sure if that is really that much more performant over multiple files).