Anonymous avatar Anonymous committed aaaab26

Added use integer to the modules.

Comments (0)

Files changed (5)

+    - Added use integer to the modules, because they don't make use
+    of floating-point calculation. It may be a minor optimization, but then
+    again it may be not.
+
 0.1.8 - Mon Jan 19 18:36:51 IST 2009
     - Optimization/Refactoring: replaced the last call to ->_father with a 
     call to _current_father(). Removed ->_father and optimized

lib/File/Find/Object.pm

 use strict;
 use warnings;
 
+use integer;
+
 use base 'File::Find::Object::PathComp';
 
 use File::Spec;

lib/File/Find/Object/Base.pm

 use strict;
 use warnings;
 
+use integer;
+
 # TODO :
 # _last_dir_scanned should be defined only for ::PathComp , but we should
 # add a regression test to test it.

lib/File/Find/Object/PathComp.pm

 use strict;
 use warnings;
 
+use integer;
+
 use base 'File::Find::Object::Base';
 
 use Class::XSAccessor

lib/File/Find/Object/Result.pm

 use strict;
 use warnings;
 
+use integer;
+
 use Class::XSAccessor
     accessors => {
         (map { $_ => $_ } (qw(
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.