Dan McGee
34a78d935a
Remove need for memory allocation in _alpm_depcmp
...
Noticed when tweaking testdb, when we run _alpm_depcmp in loops and call it
seven million times, the strdup()/free() combo can add up. Remove the need
for any string duplication by some pointer manipulation and use of strncmp
instead of strcmp. Also kill the function logger and add an escape so we
don't needlessly retrieve the list of provides.
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-21 17:25:02 -06:00
..
2010-10-14 13:17:38 +10:00
2007-07-16 16:49:28 -04:00
2010-12-12 21:42:41 -06:00
2010-03-14 19:46:59 -05:00
2010-03-25 21:31:37 -05:00
2010-03-25 21:31:37 -05:00
2010-09-06 11:20:51 -05:00
2010-12-20 18:03:21 -06:00
2010-03-14 19:46:59 -05:00
2010-03-14 19:46:59 -05:00
2010-12-13 21:25:14 -06:00
2010-12-20 18:03:21 -06:00
2010-12-20 18:02:47 -06:00
2010-12-12 20:08:54 -06:00
2010-03-14 19:46:59 -05:00
2010-12-13 21:25:14 -06:00
2010-12-13 21:16:47 -06:00
2010-03-25 21:58:35 -05:00
2010-12-12 20:29:05 -06:00
2010-12-21 17:25:02 -06:00
2010-12-12 20:08:54 -06:00
2010-12-20 18:03:34 -06:00
2010-12-12 20:32:05 -06:00
2010-12-12 20:29:30 -06:00
2010-03-14 19:46:59 -05:00
2010-12-12 20:29:59 -06:00
2010-03-14 19:46:59 -05:00
2010-03-14 19:46:59 -05:00
2010-03-14 19:46:59 -05:00
2010-12-12 20:30:05 -06:00
2010-12-20 18:03:21 -06:00
2010-03-14 19:46:59 -05:00
2010-03-14 19:46:59 -05:00
2010-12-12 20:29:37 -06:00
2010-09-02 10:33:21 -05:00
2008-06-03 21:31:31 -05:00
2010-12-14 12:36:02 -06:00
2010-12-14 17:46:02 -06:00
2010-12-12 20:19:24 -06:00
2010-03-14 19:46:59 -05:00
2010-12-12 20:30:11 -06:00
2010-03-14 19:46:59 -05:00
2010-12-12 19:53:20 -06:00
2010-03-14 19:46:59 -05:00
2010-12-14 12:06:31 -06:00
2010-12-20 18:03:21 -06:00
2010-05-04 23:38:52 -05:00