[OpenSIPS-Devel] [opensips] load_balancer module enhancements (#345)

Bogdan Andrei IANCU notifications at github.com
Tue Jan 27 18:00:03 CET 2015


Yes, I understood your logic in the original code, but you spare couple of mem allocs (which btw, are pretty fast) with the downside of searching and matching the resources - imho the effort of all those memcmp is comparable with the effort of 3-4 extra allocs (usually the list of used resources is relatively small). And I opted for this approach because code is simpler and more clear.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/345#issuecomment-71684090
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150127/e25b1c4b/attachment.htm>


More information about the Devel mailing list