Re: [fpc-pascal] ShortString still relevant today?

2023-07-04 Thread Guillermo Martínez Jiménez via fpc-pascal
Hi, I'm not sure but I think that CPU caches (L1, L2...) have some impact on this example. Also I think PChar assignation should use string copy instead (Strings.strcopy). Not time to do my own tests right now though u_u) . Regards, Guillermo "Ñuño" Martínez El Tue, 4 Jul 2023 11:46:42 +0700 H

Re: [fpc-pascal] Parse unicode scalar

2023-07-04 Thread Nikolay Nikolov via fpc-pascal
On 7/4/23 09:12, Hairy Pixels via fpc-pascal wrote: On Jul 4, 2023, at 12:38 PM, Nikolay Nikolov via fpc-pascal wrote: For console apps that use the Unicode KVM video unit, I've introduced two functions for determining the display width of a Unicode string in the video unit: function Ex