iu-parfunc / cnf-mutable-tests Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
However... this still does not fully solve the problem because if GHC crashes, that is not an "exception" that can be caught.
The tests that fail "hard" like that need to be split into their own executables.
After the simple unboxed-vector-in-CNF works, next step will be something that is still simple but pointer-based (though not threadsafe), for example, a linked list of Ints:
This should be enough to implement a traditional imperative sequence structure, with its own memory management scheme.
It seems like Data.CList
is ready for a simple benchmark. How about a two phase benchmark:
N
inserts on the listK
steps, drop one then insert oneThis "blows up" the structure to a certain size, and then runs with it in that steady state.
Three versions to compare would be:
Of course the middle is senseless, but it doesn't hurt to run it. With a large N
and even larger K
we expect to see GC time in (3). But version (1) should be able to run in a completely GC-free state and thus total GC time should not grow with K
.
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.