node.js - mongodb string less space than float -


is true in mongodb saving strings take less space floats?

so if have updated time field, rather saving time float should save string?

are there reasons why not want that?

thanks.

if care space, , store simple (with few decimal fraction digits, limited range) can multiply 10, 100, ... , store int32.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -