lambdak: multi-line lambda implementation in native Python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Jan 17 11:33:19 CET 2015


Gregory Ewing wrote:

> Marko Rauhamaa wrote:
>> Gregory Ewing <greg.ewing at canterbury.ac.nz>:
>> 
>>>If those are 24-bit RGB pixels, you could encode
>>>3 characters in each pixel.
>> 
>> Not since Python3. Characters are Unicode now so you'll need to dedicate
>> a pixel for each character.
> 
> Depends on which characters you want. With the
> Flexible Chromatic Representation, it could be
> anything from 1 to 3.

Subpixel rendering is 5% slower than full pixel rendering, so it is provably
mathematically impossible to print Unicode characters.


-- 
Steven




More information about the Python-list mailing list