[phobos] phobos commit, revision 2092

dsource.org noreply at dsource.org
Fri Oct 8 14:19:36 PDT 2010


phobos commit, revision 2092


user: sean

msg:
Changed PriorityMessageException to hold a variant instead of being a template class.  This is required to support priority messages received from another process, and also sidesteps a number of implementation issues with the old approach as well.  The drawback is that TDPL describes prioritySend as working the old way.  This change had to happen at some point however, and better now than later.  Next will be to add functionality to PriorityMessageException to simplify introspection and extraction of the message contained.

Greatly simplified the code in places and tuned somewhat for performance as well.  Normal send/receive is about 25% faster now, and prioritySend is 200 times faster (yes, 20,000%).

Added a unittest or two and verified that they still pass :-p

http://www.dsource.org/projects/phobos/changeset/2092



More information about the phobos mailing list