How to waste computer memory?

Marko Rauhamaa marko at pacujo.net
Sat Mar 19 08:43:25 EDT 2016


BartC <bc at freeuk.com>:

> So a string that looks like:
>
> "ññññññññññññññññññññññññññññññññññññññññññññññññññ"
>
> can have 2**50 different representations? And occupy somewhere between
> 50 and 200 bytes? Or is that 400?
>
> OK...

You are on the right track!


Marko



More information about the Python-list mailing list