Last summer, I posted a patch for the Python bindings at

https://sourceforge.net/tracker/index.php?func=detail&aid=2074817&group_id=12694&atid=112694

This fixes the problem that it's impossible to use the Python bindings
to fetch an object with more than one sub-ID in its INDEX, e.g., it
works for ifName.400 but not for
tcpConnTable.130.129.16.250.80.130.129.16.250.32700 .

Recently, we tracked down some pretty bad performance in our test
infrastructure to the same regexp.  When you give it only an object
name with no dots, it does an incredible amount of backtracking,
taking 22 seconds to parse 'ifHCOutBroadcastPkts' and 5 *hours* to
parse 'hrSWInstalledLastUpdateTime'.  My proposed replacement takes
basically constant and negligible time to parse match any of my test
cases.

I'd at least like to start the discussion of "what is this regexp
supposed to match", so that if my proposed replacement doesn't work in
some environment that I didn't forsee we can fix it -- but it'd be
nice to not have these two bugs.

  Bill

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to