Re: [hackers] [st][patch] Increase the buffer size for escape sequences

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Tue, 25 Sep 2018 11:06:06 +0200

Hi Roberto,

> If we go to increase that size, I would go to use dynamic memory. Having
> an array of 1MB statically allocated is a crazy idea

Yes it is!

> (and it is not C99 compliant, where the maximun allocated size is 128K).

That's actually 64k (β€œat least […] β€” 65535 bytes in an object (in a
hosted environment only)”) ;)
Received on Tue Sep 25 2018 - 11:06:06 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 25 2018 - 11:12:24 CEST