Changes
Page history
Update Performance and memory optimization
authored
Mar 29, 2019
by
Iker Hurtado
Show whitespace changes
Inline
Side-by-side
Performance-and-memory-optimization.md
View page @
b5e0eea0
...
...
@@ -53,10 +53,9 @@ But later once using the *BufferGeometry* versions of the primitives I realized
> Fixed 18 segments per atom (**current implementation**): 115-120M (memory footprint) / 42M (javascript live memory)
### Reusing object attributes (geometry, materials, etc) for atoms (species prototype atom for each species) and bonds
(memory) PENDING
### Reusing 3D objects attributes (geometry, materials, etc) for atoms and bonds
(memory)
`PENDING`
## Structure representation and algorithms
...
...
@@ -64,13 +63,13 @@ The structure representation (data model) and the algorithms working on it can b
### Use efficient Javascript data structures
PENDING
`
PENDING
`
Idea: used Typed array instead of regular arrays
### Create efficient math functions/operators
PENDING
`
PENDING
`
Idea: get rid of
`mathjs`
library
...
...
@@ -83,6 +82,6 @@ The regular UI can be optimized to work with huge structures efficiently
### Study the behaviour of non-responsive UI components
PENDING
`
PENDING
`
e.g: atoms list when you remove one