From iperminov at dwavesys.com Thu Feb 26 19:15:08 2009 From: iperminov at dwavesys.com (Ilya Perminov) Date: Thu, 26 Feb 2009 11:15:08 -0800 Subject: [log5-devel] update-active-categories/make-active-category-array bug Message-ID: Hi, I finally figured out why log5 sometimes becomes very slow. It happens when handle-message needs to update active-categories (because a new category is added). Array active-categories created by make-active-category-array has a fill pointer. When function update-active-categories adjusts the array, it does not touch the fill pointer. The array length always remains the same and handle-message updates active-categories on every invocation. Regards, Ilya From gwking at metabang.com Sat Feb 28 23:30:17 2009 From: gwking at metabang.com (Gary King) Date: Sat, 28 Feb 2009 18:30:17 -0500 Subject: [log5-devel] update-active-categories/make-active-category-array bug In-Reply-To: References: Message-ID: Hi Ilya, Thanks for catching this. I'll fix it. On Feb 26, 2009, at 2:15 PM, Ilya Perminov wrote: > Hi, > > I finally figured out why log5 sometimes becomes very slow. It > happens when > handle-message needs to update active-categories (because a new > category is > added). Array active-categories created by make-active-category- > array has > a fill pointer. When function update-active-categories adjusts the > array, it > does not touch the fill pointer. The array length always remains the > same and > handle-message updates active-categories on every invocation. > > Regards, > Ilya > > _______________________________________________ > log5-devel mailing list > log5-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/log5-devel -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM * gwking on twitter