Skip to content

Commit

Permalink
DBD::Pg Array and string optimization patch
Browse files Browse the repository at this point in the history
Replace string operations with an efficient string concat library
Replace all linked lists with arrays
Use arrays to remove quadratic complexity algorithm.

Fix CPAN RT #105492
  • Loading branch information
mtyson01 committed Oct 9, 2016
1 parent fcedd81 commit 98a6abe
Show file tree
Hide file tree
Showing 6 changed files with 451 additions and 272 deletions.
2 changes: 2 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ types.c
types.h
quote.c
quote.h
sstring.h
sstring.c

.perlcriticrc
t/dbdpg_test_setup.pl
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ my %opts =
NAME => 'DBD::Pg',
VERSION_FROM => 'Pg.pm',
INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT)",
OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT) sstring\$(OBJ_EXT)",
LIBS => ["-L$POSTGRES_LIB -lpq -lm"],
AUTHOR => 'Greg Sabino Mullane',
ABSTRACT => 'PostgreSQL database driver for the DBI module',
Expand Down
Loading

0 comments on commit 98a6abe

Please sign in to comment.