Thread: Y-Order
View Single Post
  #37  
Old 08-31-2002, 03:47 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Tyhm

No display slowdown. It already checks layer before deciding to display above or below - what would it matter if it's a floating point or integer? The differencec in comparison time is negligible, if there's a difference at all.
I can't make assumptions about how Stefan coded it, but my best guess is that each layer has its own array of images. And sorting lots of small arrays is faster than sorting one big array, which you'd need to do in your scenario.
__________________
Reply With Quote