due to Katie changes (see 7c840afcb12096778ecb1539f7baba3e02ba6f85 in the
Katie repo) reading lines is much faster
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
parsing ~30k lines and filling maps for the entries takes some time and
could block the events of kinfocenter for example which is noticable
because the parsing of files is delayed until a KDeviceDatabase query is
made
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
I didn't benchmark it but I did the same kind of optimization for
KSystemTimeZones (which I did benchmark)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>