This project is read-only.


Improve performance of operator overloads long and ulong


For the arithmetic operator overloads for (Integer, long) and (Integer, ulong) and (long, Integer) and (ulong, Integer) there should be some custom code there that works directly with the memory in order to reduce the amount of function calls and conversions to increase performance during arithmetic operations. This is not a critical task and should not impact most users.
Closed Nov 21, 2010 at 12:13 PM by mgray
Resolved, see comments.


mgray wrote Nov 12, 2010 at 8:08 AM

Should be a simple improvement.

mgray wrote Nov 21, 2010 at 12:12 PM

Previous proposed solution is too complex and reduces readability significantly. Resolved potential memory thrashing problems by disposing of converted operand before returning the result.
Modified all of the mentioned overloads to be consistent with the new implementation.

wrote Nov 21, 2010 at 12:13 PM

wrote Nov 21, 2010 at 12:13 PM

wrote Feb 2, 2013 at 2:15 AM

wrote May 8, 2013 at 6:09 PM