| 20 |
|
#define vfork fork |
| 21 |
|
#endif |
| 22 |
|
|
| 23 |
< |
#define MAXSBUF 1023980 /* maximum total size of scanline buffer */ |
| 23 |
> |
#define MAXSBUF 524268 /* maximum total size of scanline buffer */ |
| 24 |
|
#define HSIZE 317 /* size of scanline hash table */ |
| 25 |
|
#define NRETIRE 16 /* number of scanlines to retire at once */ |
| 26 |
|
|
| 75 |
|
if (sl->y == y) { /* reclaim */ |
| 76 |
|
sl->next = hashtab[hi]; |
| 77 |
|
hashtab[hi] = sl; |
| 78 |
+ |
#ifdef DEBUG |
| 79 |
+ |
if (verbose) |
| 80 |
+ |
fprintf(stderr, |
| 81 |
+ |
"%s: scanline %d reclaimed\n", |
| 82 |
+ |
progname, y); |
| 83 |
+ |
#endif |
| 84 |
|
} |
| 85 |
|
return(sl); |
| 86 |
|
} |