Permalink
Browse files

Reduced small/large queue limit. Removed hard requirements for option…

…al modules.
  • Loading branch information...
1 parent 29b8684 commit afb9460ee57492cef13e2b35a670e93937ad04f7 @rcaputo committed Nov 26, 1999
Showing with 8 additions and 7 deletions.
  1. +7 −0 Changes
  2. +0 −6 Makefile.PL
  3. +1 −1 lib/POE/Kernel.pm
View
@@ -25,6 +25,13 @@ Mentioned the "POE2" project in the README file.
Added an undocumented command line switch to samples/poing.perl that
specifies the maximum number of hours to run.
+Changed the small/large queue limit for POE::Kernel::_enqueue_state
+from 32 to 8.
+
+Removed the hard requirement for optional modules: Storable;
+Time::HiRes; HTTP::Request; HTTP::Response; HTTP::Status; URI::URL.
+These aren't mandatory for basic POE things.
+
0.0704 1999.11.14
-----------------
View
@@ -16,15 +16,9 @@ WriteMakefile
},
PREREQ_PM => { Carp => 0,
Exporter => 0,
- HTTP::Request => 0,
- HTTP::Response => 0,
- HTTP::Status => 0,
IO => 0,
POSIX => 0,
Socket => 0,
- Storable => 0,
- Time::HiRes => 0,
- URI::URL => 0,
},
);
View
@@ -862,7 +862,7 @@ sub _enqueue_state {
my $kr_states = $self->[KR_STATES];
if (@$kr_states) {
# small queue; linear search
- if (@$kr_states < 32) {
+ if (@$kr_states < 8) {
my $index = @$kr_states;
while ($index--) {
if ($time >= $kr_states->[$index]->[ST_TIME]) {

0 comments on commit afb9460

Please sign in to comment.