News for hackers. Stuff that matters.
Re:Bounter: A Python counter that uses limited memory regard... by suff on Saturday October 21, 2017 @10:34AM (#15521950)
It is good that someone wrote this. It is embarrassing how bad Python's native performance is.
Re:Bounter: A Python counter that uses limited memory regard... by daveFNbuck on Saturday October 21, 2017 @11:00AM (#15522040)
This isn't a replacement for any native Python data structures. It's a collection of three different approximate data structures for dealing with large data sets where you're ok trading off accuracy for reduced memory usage.
Re:Bounter: A Python counter that uses limited memory regard... by markbnj on Saturday October 21, 2017 @02:02PM (#15522770)
I don't understand why it would be "embarrassing?" Python was designed to have certain characteristics and it has pretty obviously succeeded in terms of implementing design features that attracted a large number of users and a broad community. Nothing to be embarrassed about there. If you need faster processing there are numerous extensions and alternatives.