flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: Workers and Speed
Date Sat, 06 Aug 2016 23:39:39 GMT
Hi,

Hard to know without seeing the code. One way to make sure that the program is behaving correctly
is to use unit tests, you make a change, run the tests if everything the same you know you’ve
not introduced an error. That combined with version control can be a very effective way of
programming, but that’s perhaps a little off topic.

It your doing the floating point calculations sightly differently it may just be rounding
errors. The was at least one calculation in there that was would be sensitive to that. Comparing
the value of a complex floating point calculations some exact values is always going to cause
some issues.

Take one of the properties you that you show up in one set and not the other and see what
condition fails and compare the values it produces.

Thanks,
Justin
Mime
View raw message