Commit 566ccf5
Dan Brook
Lazily build the fh attribute of Git::PurePerl::Pack objects.
Not allocating the filehandle at BUILD time means that a large number
of G::PP::Pack objects can be thrown around without necessarily
hitting a filehandle limit (as was encountered with Gitalist and a repo
with a large numbers of refs).1 parent 2f92ecc commit 566ccf5
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments