summaryrefslogtreecommitdiffstats
path: root/pkgconfig.py
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2013-06-03 17:52:00 -0400
committerLuis Pabon <lpabon@redhat.com>2013-06-06 12:37:45 -0700
commitf80872e852a0c955565bcda855f8d3ecaf23fdf5 (patch)
tree96beb73f09c17d019685ab46fb0bd8942f63a935 /pkgconfig.py
parent006c3599cba53441ede3e7ba8fe27c18bea212f1 (diff)
Change filters to use a generator pattern
By using a generator pattern, we avoid creating whole new lists each time, instead we iterate through the original list once (after it is sorted), constructing the final list only once. We also address the behavioral differences between the swift filtering results and our code so that ported unit tests work the same (non-slash objects, that is). Change-Id: If32c1987f24781ff81ab4c28c9ddfff17c2e7787 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/5145 Tested-by: Luis Pabon <lpabon@redhat.com> Reviewed-by: Mohammed Junaid <junaid@redhat.com> Reviewed-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'pkgconfig.py')
0 files changed, 0 insertions, 0 deletions