I am less interested in the choice of names than the pro and con of when these
Roaring bitmaps are worth using and when they are not.
It is a bit like discussing whether various compression techniques are worth
using as the storage or memory costs can be weighed against the CPU or
transient mem
On Fri, 17 Feb 2023 at 15:28, MRAB wrote:
>
> On 2023-02-14 22:20, Rob Cliffe via Python-list wrote:
> > On 11/02/2023 00:39, Dino wrote:
> >> First off, a big shout out to Peter J. Holzer, who mentioned roaring
> >> bitmaps a few days ago and led me to quite a discovery.
> >>
> > I was intrigued
On 2023-02-14 22:20, Rob Cliffe via Python-list wrote:
On 11/02/2023 00:39, Dino wrote:
First off, a big shout out to Peter J. Holzer, who mentioned roaring
bitmaps a few days ago and led me to quite a discovery.
I was intrigued to hear about roaring bitmaps and discover they really
were a th
On 11/02/2023 00:39, Dino wrote:
First off, a big shout out to Peter J. Holzer, who mentioned roaring
bitmaps a few days ago and led me to quite a discovery.
I was intrigued to hear about roaring bitmaps and discover they really
were a thing (not a typo as I suspected at first).
What next, I
I think this does the trick:
https://gist.github.com/Gerardwx/c60d200b4db8e7864cb3342dd19d41c9
#!/usr/bin/env python3
import collections
import random
from typing import Hashable, Any, Optional, Dict, Tuple
class LruCache:
"""Dictionary like storage of most recently inserted values"""
On Tue, 14 Feb 2023 11:17:20 +, Oscar Benjamin wrote:
> On Tue, 14 Feb 2023 at 07:12, Stephen Tucker wrote:
[snip]
>> I have just produced the following log in IDLE (admittedly, in Python
>> 2.7.10 and, yes I know that it has been superseded).
>>
>> It appears to show a precision tail-off as t
Gerard - I did not use the filtering options. Thank you for bringing them
to my attention.
Barry - thank you for the insight.
Now the tracing works as expected. I'm not sure why it didn't work
before... Maybe the program redirected stdout?
Thank you guys,
Peter
On Thu, Feb 16, 2023 at 9:56 AM B
> On 15 Feb 2023, at 17:23, Peter Slížik wrote:
>
> Hello,
>
> I'm trying to analyze complex Python code. For some specific reasons, I
> decided to use tracing instead of a debugger.
>
> The first thing I tried was:
>
> python -m trace -t /path/to/file.py
>
> The output of this command tur