RE: [racket-users] Surprising but convenient

2021-12-19 Thread Jacob Jozef
stick. I have no idea where buffers with capacity of 1 GB or more may reside. I can see that after deletion and closing, the 1GB is freed.  Jos From: Bruce O'NeelSent: domingo, 19 de diciembre de 2021 18:19To: Sage GerardCc: racket-users@googlegroups.comSubject: Re: [racket-users] Surprising

Re: [racket-users] Surprising but convenient

2021-12-19 Thread Bruce O'Neel
HI, It is a touch unclear what you mean by deleting the file and on which OS you are using. On Linux and similar OSes  the rm command just calls the unlink system call.  This removes the file from the directory and if the link count is now 0 then the file is removed from disk.  But this last

Re: [racket-users] Surprising but convenient

2021-12-19 Thread Sage Gerard
If I understand this correctly, there's a difference between deleting a reference to 50 GB (like an inode), and actually writing 50 GB. When you write to an output port, you are writing to a buffer in memory. This prevents the slow downs you've witnessed, because storage mediums are comparably