Skip to content

Commit

Permalink
Fix performance problems for Combine/Separate
Browse files Browse the repository at this point in the history
The change in 235be9f to use
arrays instead of gb_trees for the edge table made Combine and
Separate much slower if there were many objects in the scene
because array:from_orddict/1 does not create sparse arrays if
there are holes in the index numbering.

This problem is best fixed in array.erl to make sure that
array:from_orddict/1 creates sparse arrays. Include the fixed
version of array.erl in Wings until R13B03 has been released.

NOTE: Combine and Separate became much slower in 1.1 if there
were many objects in the scene. This has been corrected.
(Thanks to ycarry.) [dgud/bjorng]
  • Loading branch information
dgud authored and bjorng committed Oct 3, 2009
1 parent 3ce0956 commit a1702e1
Show file tree
Hide file tree
Showing 3 changed files with 1,911 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Makefile
Expand Up @@ -38,6 +38,7 @@ endif
# rule to ensure that it gets compiled before all other modules.

MODULES= \
array \
user_default \
wings \
wings_align \
Expand Down

0 comments on commit a1702e1

Please sign in to comment.