New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of redundant storing of doubles #765

rubendel opened this Issue Jun 12, 2018 · 1 comment


None yet
1 participant

rubendel commented Jun 12, 2018

Almost 10 years ago now the decision was made to store any floatingpoint value in BIMserver 2 times; Once as the original string value (taken from the IFC) and once as a float (and later double). The reasoning was that rountripped IFC files should come out exactly the same (logically), so no floatingpoint "rounding errors" were allowed.

These reasons are still valid, although I think it is time to get rid of the "double" representation. It will save a lot of diskspace and at the same time improve performance. When the actual floatingpoint representations are needed, we can simply convert the string value to float/double.


This comment has been minimized.


rubendel commented Jun 12, 2018

Additionally this will really clean up a lot of code. It does have a bit of an impact though, also database upgrade will be broken by this (the more reason to put this in 1.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment