]> git.imager.perl.org - poe-xs-queue-array.git/log
poe-xs-queue-array.git
17 years ago - added Imager's memory debugging code in an attempt to find the
Tony Cook [Sun, 9 Jul 2006 11:59:19 +0000 (11:59 +0000)]
 - added Imager's memory debugging code in an attempt to find the
   crash problem on Win32.  This seems to have eliminated the crash
   even when it's disabled (and just calls malloc/free/realloc)
   https://rt.cpan.org/Ticket/Display.html?id=18543
 - found the memory leak - we were creating an SV for the id to
   priority hash and nothing was releasing it
   https://rt.cpan.org/Ticket/Display.html?id=20018
 - the memory leak fix has become obsolete, we now avoid creating the
   SV at all by using the id in memory as a key to the hash.
 - added a verify method during debugging, it's not necessary anymore
   but someone else fiddling with the code might find it useful
 - pq_find_item() and pq_insertion_point() now use a binary search for
   larger queues.  These were the hotspots going by sprof profiling.

17 years agoadded a stupid implementation of the id management code, which can't leak
Tony Cook [Sat, 8 Jul 2006 03:19:21 +0000 (03:19 +0000)]
added a stupid implementation of the id management code, which can't leak
found the leak, fixed it
add leak manual test script to svn

17 years agoadd Imager's memory debugger
Tony Cook [Wed, 5 Jul 2006 09:11:57 +0000 (09:11 +0000)]
add Imager's memory debugger

17 years ago - moved the structural queue code to queue.c, Array.xs is purely an
Tony Cook [Tue, 11 Apr 2006 03:54:50 +0000 (03:54 +0000)]
 - moved the structural queue code to queue.c, Array.xs is purely an
   interface to that now.
 - replaced all the opaque memmove() calls with a call to pq_move_items()
   which does sanity checks in DEBUG code.
 - added t/02_release.t which attempts to check we're handling references
   correctly.

17 years agosplit the working code out from the XS file
Tony Cook [Mon, 27 Mar 2006 00:23:07 +0000 (00:23 +0000)]
split the working code out from the XS file

17 years agoinitial release v0.001
Tony Cook [Tue, 21 Mar 2006 00:12:52 +0000 (00:12 +0000)]
initial release

17 years agosomewhere to store POE::XS::Queue::Array
Tony Cook [Tue, 21 Mar 2006 00:09:59 +0000 (00:09 +0000)]
somewhere to store POE::XS::Queue::Array