Giter Site home page Giter Site logo

aleph's People

Contributors

carolahp avatar chisandrei avatar estebanlm avatar guillep avatar marcusdenker avatar sonibla avatar tesonep avatar vincentblondeau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aleph's Issues

Last changes in Aleph makes large images build out of memory

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.

Full blocks in the method literals make index building wrong

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.

The implementation of `ClyVariableWritersQuery>>buildResult:` is incorrect

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.