October 08, 2010 [phobos] phobos commit, revision 2092 | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation