pharo-project / aleph Goto Github PK
View Code? Open in Web Editor NEWan index system for the pharo system
an index system for the pharo system
It seems that the use of the GCConfiguration forLargeObjectAllocation in AlpIndexManager >> #start creates a too big usage of the memory. The GC is not triggered enough and use all the memory of the system to create the trie. The memory installed on the machine is 80GB.
Please revert the change.
With Aleph, we are hooking deeply into the system
We should not just run the Aleph tests, but all image tests in addition
This method:
plop
[Object new ] value
do not have #literals containing Object. It is just #().
As a consequence, the referencesOf:do:
and sendersOf:do:
gives incomplete results.
I'm not sure if the literals
method should be changed to handle fullblocks or the references should be adapted.
It would be nice to have a description (code) how to load it
It would be nice to have a CI setup
Aleph overrides the implementation of the method in ClyVariableReferencesQuery>>buildResult:
in ClyVariableWritersQuery>>buildResult:
:
buildResult: aQueryResult
| vars navigation |
vars := variableQuery execute items.
navigation := scope asSystemNavigation.
aQueryResult fillWith: (((vars
collect: [ :each | navigation allReferencesTo: each ]) flattened)
select: [ :each | vars anySatisfy: [ :eachVar | each writesRef: eachVar ] ])
This causes the query (e.g executed when using the 'Writers' menu option in the context menu for instance variables) to always return an empty result. The main problem here is that (as far as I know) there is no index for references to instance variables (only one for references to classes). Besides that AlpSystemNavigation>>allReferencesTo:
does not expect an object of class ClyInstanceVariable
which leads it to, search in the senders index using the each
object as the key in an IdentityDictionary (and predictably not find anything).
My idea would be to remove this method and use the default implementation in Pharo. I suspect ClyVariableReadersQuery>>buildResult:
has the same problem, but I have not tested it.
When loading with:
Metacello new
repository: 'github://pharo-project/Aleph/src';
baseline: 'Aleph';
load.
The tests fail due to a missing method #takeFirst:
two tests are failing for both Pharo9 and Pharo10:
The CI setup for now just runs Pharo9 and Pharo10 (just the Aleph test).
We should run them for Pharo11, too
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.