Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DROOLS-1701 Improved memory usage by EvaluationContextImpl #1

Conversation

kurobako
Copy link

@kurobako kurobako commented Nov 8, 2017

Currently java.util.Stack is used in EvaluationContextImpl to represent call stack. This data structure is highly inefficient since it copies arrays on every mutating operation. ArrayDeque offers better performance and less GC pressure while maintaining compact array-based internal structure.

@tarilabs
Copy link
Owner

tarilabs commented Nov 8, 2017

Thanks but can you re-open against blessed/master, please?
I am reusing EvaluationContextImpl from master in this feature.

@tarilabs tarilabs closed this Nov 8, 2017
tarilabs pushed a commit that referenced this pull request May 14, 2019
* [DROOLS-3838] BackEnd part import

* [DROOLS-3838] Cleanup

* Unify assertion framework (#1)
tarilabs added a commit that referenced this pull request Sep 1, 2020
…s. (apache#3067)

* BXMSDOC-6058-master: Update built-in FEEL adoc file to align with docs.

* Make it passing the TEST (#1)

* Align to new DOC format (list troubles AST processing)

* fix example

Co-authored-by: Matteo Mortari <matteo.mortari@gmail.com>
tarilabs pushed a commit that referenced this pull request Apr 11, 2021
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](junit-team/junit4@r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tarilabs added a commit that referenced this pull request Apr 21, 2021
* Initial commit

* Print nodes by layer to try align left the LIA.

* clean.

* prepare for unknown nodes.

* le bug correction.

* Collecting at level 1-5 all the required nodes.

* MANUAL experiment for subnetwork.

* Trying to collate as possible the subnetwork.

* Fixing breaking when complex subnetwork although same level nodes.

* Fixing beta node constraints and classpath problems.

* fixes.

* Avoiding problem when using as a dependency (until merged upstream).

* comsmetics on the not display.

* with partitioning instead of vertical layering.

* Still trying to merge the 2 approaches, for now it's a switch b/w them.

* with the files.

* Moar tests

* latest imgs.

* wrong loop nesting.

* renaming to diagramRete()

* Clean-up.

* Adding browser FIREFOX, tested works.

* Aligning with DROOLS-1024.

* print debug vertical cluster flag in configuration

* bugfix

* oops commit

* Bump junit from 4.12 to 4.13.1 (#1)

Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](junit-team/junit4@r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* realign

* Migrate to graphviz-java

* Use platform agnostic open file

* main refactors without package renames

* Refactor naming and package to drools-retediagram as agreed

* subdir drools-retediagram

* move into drools-retediagram

* wire module into the build

* dependency mgt

* update logback for proper package

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
tarilabs pushed a commit that referenced this pull request Aug 24, 2021
* jul-22-save-1 (#1)

* empty

* Prepare to add banned dependencies on kie-parent (#2)

* empty

* Remove remaining Java EE 8 spec JARs (#3)

* fixing webapp

* Fixing JDBC URL after H2 update

Co-authored-by: Tiago Bento <1584568+tiagobento@users.noreply.github.com>
tarilabs pushed a commit that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants