<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">In asn-buf.cpp the operator<() and the operator==() methods
suffer from a performance issue, they are running in a loop until
an exception is not thrown. This is a very bad idea, and very
inefficient way of error handling. I have done some performance
tests with gproof. The performance has improved about 4 times better,
the code runs faster after my fix. I removed the exception handling from
operator<() and the operator==() and replaced them to a
boolean function, that can signal if an exception would be thrown.
Signed-off-by: László Kovács <a class="moz-txt-link-rfc2396E" href="mailto:sabbath24@gmail.com"><sabbath24@gmail.com></a>
---
Patch was added in an attachment.
</pre>
</body>
</html>