devl / pyby Goto Github PK
View Code? Open in Web Editor NEWA library implementing certain Ruby-like behaviours in Python.
Home Page: https://devl.github.io/Pyby
License: MIT License
A library implementing certain Ruby-like behaviours in Python.
Home Page: https://devl.github.io/Pyby
License: MIT License
The current implementation of uniq
performs in the scale of O(n).
Here's an potential source of improvement: https://grantjenks.com/docs/sortedcontainers/sortedset.html
Add a third enumerable collection.
https://ruby-doc.org/stdlib-3.1.2/libdoc/set/rdoc/Set.html
In Ruby 3.2.0 Set
will no longer have to be required as it's being elevated to comparable status as Array
and Hash
.
This will entail coming up with some scheme for handling the concept of public
and private
.
Enumerable
is growing and this the tests for EnumerableDict
and EnumerableList
. Splitting the tests and grouping them by concept, e.g. "query methods" or even by method name might make things more manageble.
The current implementation relies on a dict
internally which in turn requires each element in the enumerable to be hashable.
This likely blows up as it is today given that tuples are splatted into e.g. predicate function arguments.
Enumerable#compact is tightly coupled to the concept of a "value" being the last part of an item.
Conversely, EnumerableDict#include could make the same assumption regarding what a member is and be merged into Enumerable#include.
The current implementation calls map
before flattening.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.